View Single Post
  #3  
Old 01-11-2012, 08:33 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

At the moment i can not check your mission (not at my gaming PC), will take a look at it at evening.


but you get the current trigger state with
GamePlay.gpGetTrigger("Triggername").Active
true if active, false if disabled.

you can enable the trigger with:
GamePlay.gpGetTrigger("Triggername").Enable = true;
and disable with
GamePlay.gpGetTrigger("Triggername").Enable = false;

if ("de1".Equals(shortName) && active)
btw. you use tpassthru triggers, so active is true if you enter the area and false if you leave the area.
Reply With Quote