Editing Additions to existing entities
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 627: | Line 627: | ||
**Rotate relative to parent (world) | **Rotate relative to parent (world) | ||
*$GetEntIndex <string> | *$GetEntIndex <string> | ||
**parameter format: entity|input | **parameter format: entity|input | ||
**example: !activator|$DisplayTextCenter | **example: !activator|$DisplayTextCenter | ||
**Triggers the input of an entity, with entity index as parameter | |||
*$RemoveOutput <string> | *$RemoveOutput <string> | ||
**remove outputs with given name | **remove outputs with given name | ||
Line 641: | Line 641: | ||
**Set keyvalue to specified value | **Set keyvalue to specified value | ||
*$GetKey$(keyvalue name) <string> | *$GetKey$(keyvalue name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
**example: !activator|$DisplayTextCenter|def | **example: !activator|$DisplayTextCenter|def | ||
** Trigger the input of an entity, with keyvalue as a paramer (default value if not found) | |||
*$SetVar$(variable name) <string> | *$SetVar$(variable name) <string> | ||
**Set custom entity variable | **Set custom entity variable | ||
*$GetVar$(variable name) <string> | *$GetVar$(variable name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
**Trigger the input of an entity, with variable as a paramer (default value if not found) | |||
*$SetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | *$SetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | ||
**Set datamap property to specified value | **Set datamap property to specified value | ||
*$GetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | *$GetData$([https://raw.githubusercontent.com/powerlord/tf2-data/master/datamaps.txt datamap] prop name) <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
** | **Trigger the input of an entity, with datamap prop as a paramer (default value if not found) | ||
*$SetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$SetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**Set send property to specified value. Can also set arrays. | **Set send property to specified value. Can also set arrays. | ||
Line 668: | Line 663: | ||
***sets player ammo type array to 3, which is metal carried | ***sets player ammo type array to 3, which is metal carried | ||
*$GetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$GetProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**parameter format: entity|input|default value | **parameter format: entity|input|default value | ||
** | **example: !activator|$DisplayTextCenter|def | ||
** | **Trigger the input of an entity, with send prop as a paramer (default value if not found) | ||
*$SetClientProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | *$SetClientProp$([https://raw.githubusercontent.com/powerlord/tf2-data/master/netprops.txt send prop] name)[$(array)] <string> | ||
**Set fake send prop value only seen by players. Can also set arrays. Useful for setting fake mission name or wave number, as $SetProp would trigger unwanted behavior | **Set fake send prop value only seen by players. Can also set arrays. Useful for setting fake mission name or wave number, as $SetProp would trigger unwanted behavior |