User:0.51: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
Example: | Example: | ||
{{entity-kvalue-start|[[npc_alyx]]}} | {{entity-kvalue-start|[[npc_alyx]]}} | ||
{{entity-kvalue|Name|dropship-1|you may name it as you want}} | {{entity-kvalue|Name|dropship-1|..you may name it as you want}} | ||
{{entity-kvalue| | {{entity-kvalue|Number of grenades|5|..dont get them too many}} | ||
{{entity-kvalue|Name|dropship-1|}} | {{entity-kvalue|Name|dropship-1|}} | ||
{{entity-kvalue-end}} | {{entity-kvalue-end}} | ||
Line 24: | Line 24: | ||
</pre> | </pre> | ||
entity-flag | ==entity-flag template== | ||
This template presents a set of flags for a given enitity together with the comments (optional). | |||
{{entity-flag-start| | Example: | ||
{{entity-flag| | {{entity-flag-start|}} | ||
{{entity-flag| | {{entity-flag|Template NPC|on|you may name it as you want}} | ||
{{entity-flag|Start burrowed|off|you may name it as you want}} | |||
{{entity-flag-end}} | {{entity-flag-end}} | ||
Revision as of 06:54, 12 March 2006
entity-kvalue template
This template presents a set of keyvalues for a given enitity together with the comments (optional). Example:
Class: npc_alyx | ||
Keyvalues | Comments | |
Name | dropship-1 | ..you may name it as you want |
Number of grenades | 5 | ..dont get them too many |
Name | dropship-1 | |
Syntax:
{{entity-kvalue-start|class}} {{entity-kvalue|key|value|comment}} {{entity-kvalue-end}}
where:
- class - entity class
- key - parameter name
- value - parameter value
Paste-in:
{{entity-kvalue-start|}} {{entity-kvalue|||comment}} {{entity-kvalue-end}}
entity-flag template
This template presents a set of flags for a given enitity together with the comments (optional). Example:
Flag | ||||
![]() |
Template NPC | you may name it as you want | ||
![]() |
Start burrowed | you may name it as you want | ||
{{entity-flag-start|}} {{entity-flag||on|}} {{entity-flag||off|}} {{entity-flag-end}}
entity-output
My output | Target entity | Target input | Parameter | Delay | Only once | Comments | ||
File:Entity-output-iconName.png | on | you may name it as you want | {{{8}}} | |||||
File:Entity-output-iconName.png | off | you may name it as you want | {{{8}}} | |||||
{{entity-output-start|}} {{entity-output|||||||}} {{entity-output|||||||}} {{entity-output-end}}