Template:Tfitem: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) m (updated template usage.) |
Kestrelguy (talk | contribs) m (added some missing keyvalues.) |
||
| Line 4: | Line 4: | ||
{{KV TeamNum|tf2=1}} | {{KV TeamNum|tf2=1}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV|Auto-Materialize|intn=automaterialize|bool|Whether the pickup will automatically re-materialize after 10 seconds.}} | |||
{{KV|Model|intn=powerup_model|string|Changes the model to something other than the default.}} | |||
==Inputs== | ==Inputs== | ||
{{I BaseEntity|base=1}} | {{I BaseEntity|base=1}} | ||
| Line 11: | Line 14: | ||
==Outputs== | ==Outputs== | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
{{IO|OnPlayerTouch|Sent when the entity is picked up by a player.}}</onlyinclude> | {{IO|OnPlayerTouch|Sent when the entity is picked up by a player.|nofgd=1}}</onlyinclude> | ||
Revision as of 14:15, 30 September 2022
Keywords
TeamNum:
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
- Auto-Materialize (automaterialize) <boolean>
- Whether the pickup will automatically re-materialize after 10 seconds.
- Model (powerup_model) <string>
- Changes the model to something other than the default.
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle
- Toggles the enabled/disabled status of the entity.
Outputs
- OnPlayerTouch !FGD
- Sent when the entity is picked up by a player.