Trigger an action on crossing a Sector_SetPortal boundary

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Trigger an action on crossing a Sector_SetPortal boundary

Post by Xaser »

I've got a map that uses Sector_SetPortal's Type 6 ("Interactive") to split an area vertically, and I'd like to trigger an action (an ACS script, in my case) when the player crosses the portal to the lower area. My first instinct was to try an "Actor Enters Sector" action in the lower sector(s), but it doesn't seem to trigger upon crossing the portal boundary, unfortunately. Anyone have any other ideas on how to make this work?
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Trigger an action on crossing a Sector_SetPortal boundar

Post by Rachael »

I'd report this as a bug, first, as this really seems to be unintentional.

A temporary workaround might be to use an actor hits ceiling or floor (or maybe both) sector actions instead, at least until you know the state of the first sector action.
Post Reply

Return to “Mapping”