Difference between revisions of "Properties"

From 3DGE Wiki
Jump to: navigation, search
(Created page with "<div class="content"> =Properties= Properties declare something special about the current radius trigger, or give it a certain attribute (name, tag, etc). For example, TAGGED_...")
 
 
Line 28: Line 28:
  
 
</div>
 
</div>
 +
----
 +
{{RTS}}

Latest revision as of 15:18, 3 October 2016

Properties

Properties declare something special about the current radius trigger, or give it a certain attribute (name, tag, etc). For example, TAGGED_DISABLED says that this script will not run straight away but will start off in a disabled state.

Because properties are not commands, it doesn't matter where in the script they are or what order they are in. To keep scripts readable it is highly recommended to place all properties at the beginning of the script, before the very first action command.

List of commands

TAG
For calling scripts from DDF.

NAME
For calling scripts from other scripts.

TAGGED_DISABLED
Make a script inactive till activated from somewhere else.

TAGGED_IMMEDIATE
Script will run immediately on starting the map.

TAGGED_INDEPENDENT
Script completes even if player leaves the trigger area.

TAGGED_REPEATABLE
To make looping scripts.

WHEN_APPEAR
Define when a script exists on your map based on skill and gametype.

WHEN_PLAYER_NUM
Define when a script exists on your map based on the number of players.

TAGGED_PATH
Define a path which a "path following" monster will follow.

PATH_EVENT
Make "path following" monsters go into certain states.


Radius Trigger Scripts
RTSlogo.gif