How to trigger a win zone with a trigger zone? I have seen this question many times so I have decided to add this mini-tutorial as a help.
The example can be used if the player must pass through a win zone more than once before the win zone activates.
The attached map download shows an example of how to do this.
It uses the following Main script on the Win Zone that needs to be added to your script bank as an .fpi file:
;Artificial Intelligence Script
;Header
desc = Plr In Zone, activate entity specified in IF USED
;Triggers
:state=0,activated=1,plrwithinzone=1:activateifused=1,sound=$0,state=1
:state=1,plrwithinzone=0:state=0
It also uses a trigger zone with the following settings:
IsObjective set as 1 (win zone is objective 2)
Main script: plrinzoneactivateused.fpi
IfUsed: Win Zone