Trigger an action on crossing a Sector_SetPortal boundary
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.
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.
Trigger an action on crossing a Sector_SetPortal boundary
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?
Re: Trigger an action on crossing a Sector_SetPortal boundar
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.
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.