User:0.51: Difference between revisions
Jump to navigation
Jump to search
Line 88: | Line 88: | ||
''Paste-in:'' | ''Paste-in:'' | ||
<pre> | <pre> | ||
{{entity-output-start | {{entity-output-start}} | ||
{{entity-output|||||||}} | {{entity-output|||||||}} | ||
{{entity-output|||||||}} | {{entity-output|||||||}} | ||
{{entity-output-end}} | {{entity-output-end}} | ||
</pre> | </pre> |
Revision as of 14:22, 12 March 2006
entity-kvalue template
This template presents a set of keyvalues for a given enitity together with optional comments.
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 |
Syntax:
- {{entity-kvalue-start|class}}
- {{entity-kvalue|key|value|comment}}
- {{entity-kvalue-end}}
where:
- class - entity class
- key - parameter name
- value - parameter value
- comment - parameter comment
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 optional comments.
Example:
Flag | ||||
![]() |
Template NPC | you may name it as you want | ||
![]() |
Start burrowed | you may name it as you want | ||
Syntax:
- {{entity-flag-start|}}
- {{entity-flag|name|flag|comment}}
- {{entity-flag-end}}
where:
- name - flag name
- value - flag value -
on
oroff
- comment - flag comment
Paste-in:
{{entity-flag-start|}} {{entity-flag|||}} {{entity-flag|||}} {{entity-flag-end}}
entity-output template
This template presents a set of outputs for a given enitity together with optional comments.
Example:
My output | Target entity | Target input | Parameter | Delay | Only once | Comments | ||
File:Entity-output-icononTrigger.png | on | you may name it as you want | {{{8}}} | |||||
File:Entity-output-iconName.png | off | you may name it as you want | {{{8}}} | |||||
Syntax:
- {{entity-output-star}}
- {{entity-output|output|target_entity|target_input|parameter|delay|once_flag|comment}}
- {{entity-output-end}}
where:
- output - output name
- target_entity - target entity name
- target_input - target entity input
- parameter - input's parameter override
- delay - inputs's delay
- once_flag - output's once status
- comment - output comment
Paste-in:
{{entity-output-start}} {{entity-output|||||||}} {{entity-output|||||||}} {{entity-output-end}}