TAGGED USE

From 3DGE Wiki
Revision as of 15:26, 24 July 2016 by RUNSABER (talk | contribs) (This make a radius trigger script run only while the player is within the radius and is pressing the USE key.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TAGGED_USE

Description: This make a radius trigger script run only while the player is within the radius and is pressing the USE key.

NOTE: you may need to add the TAGGED_INDEPENDENT property to your script, especially if it has any WAIT commands, otherwise the script stops running as soon as the player lets go of the USE key.

Example: This radius trigger script will fire off once if we are inside it and press the USE button.

// message when we look at something RECT_TRIGGER 652 1440 780 1456

 TAGGED_USE
 TIP "Nothing of interest."

END_RADIUS_TRIGGER