Hi guys i’m back with a small question:
I got a gate that is a script_mover which is triggered by a soldier if he steps onto some platform and the gate stays open forever. But if the soldier leaves the platform the gate continues moving. How can I make my gate so that if he leaves the platform the gate returns to it’s normal state ?? I used a trigger_once for the platform
I got the script from drakir’s northpole map and changed it a bit.
my little script
// =================================================================
// ===========================Soldier Gate==========================
// =================================================================
gate_trigger
{
spawn
{
}
trigger gate_move
{
trigger soldiergate1 move
}
}
soldiergate1
{
spawn
{
accum 1 set 0
}
trigger move
{
accum 1 abort_if_not_equal 0
accum 1 set 1
gotomarker soldieropen 80 wait
wait 5000
}
}
I think I have to use a trigger return but how?? :???:



