Difference between revisions of "TAGGED REPEATABLE"

From 3DGE Wiki
Jump to: navigation, search
(Created page with "'''Usage:'''<br /> TAGGED_REPEATABLE <Number to repeat> <Rate> '''Description:'''<br /> Use this to make looping radius trigger scripts. It is most useful when us...")
 
 
Line 1: Line 1:
 
'''Usage:'''<br /> TAGGED_REPEATABLE &lt;Number to repeat&gt; &lt;Rate&gt;
 
'''Usage:'''<br /> TAGGED_REPEATABLE &lt;Number to repeat&gt; &lt;Rate&gt;
  
'''Description:'''<br /> Use this to make looping radius trigger scripts. It is most useful when used with TIP and MOVE_SECTOR commands.
+
'''Description:'''<br /> Use this to make looping radius trigger scripts. It is most useful when used with [[TIP]] and [[MOVE_SECTOR]] commands.
  
 
'''Details:'''<br /> &lt;Number to repeat&gt; is the number of times we want the script to execute. If we specify 0 then it will repeat forever.
 
'''Details:'''<br /> &lt;Number to repeat&gt; is the number of times we want the script to execute. If we specify 0 then it will repeat forever.

Latest revision as of 16:51, 8 June 2015

Usage:
TAGGED_REPEATABLE <Number to repeat> <Rate>

Description:
Use this to make looping radius trigger scripts. It is most useful when used with TIP and MOVE_SECTOR commands.

Details:
<Number to repeat> is the number of times we want the script to execute. If we specify 0 then it will repeat forever.

<Rate> a time value indicating how long before it repeats (in either ticks or seconds).

  • 0 = no delay
  • 0.5 = half a second
  • 2 = two seconds
  • 1T = one tick (shortest possible time)
  • 35T = one second

Example:
This radius trigger script will fire off everytime we stand on the green-armor pedestal (in DOOM's E1M1) and press the USE button. It waits 4 seconds before "reactivating".

START_MAP e1m1
  RECT_TRIGGER -256 -3264  -192 -3200
    TAGGED_USE
    TAGGED_REPEATABLE 0 4

    TIP "Nothing of interest."

  END_RADIUS_TRIGGER
END_MAP