Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scriptsnippet_triggeredpopuptrigger [2016/01/26 20:46]
feanix created
scriptsnippet_triggeredpopuptrigger [2016/01/26 20:54]
feanix
Line 6: Line 6:
   * A trigger with "{_x setDamage 0; _x animate["​terc",​ 0];} forEach (synchronizedObjects thisTrigger)"​   * A trigger with "{_x setDamage 0; _x animate["​terc",​ 0];} forEach (synchronizedObjects thisTrigger)"​
   * A popup target (find one under "​Objects Training"​) with "this setDamage 1; this animate["​terc",​ 1]" in it's init   * A popup target (find one under "​Objects Training"​) with "this setDamage 1; this animate["​terc",​ 1]" in it's init
 +  * Synchronise the popup target to the trigger
 +  * You can add more popup targets and sync them to the trigger and they'​ll all popup when a player enters the trigger.
    
 {{ :​popupscriptdiagram.png?​nolink |}} {{ :​popupscriptdiagram.png?​nolink |}}
  • scriptsnippet_triggeredpopuptrigger.txt
  • Last modified: 2016/01/26 20:54
  • by feanix