Template:I npc turret floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Noted that the Ammo inputs don't work on the Portal turret)
(Reformatted to use IO templates, added to Input Templates category)
Line 1: Line 1:
; <code>Enable</code>
{{IO|Enable}}
; <code>Disable</code>
{{IO|Disable}}
; <code>Toggle</code>
{{IO|Toggle|Active/deactivate the turret's mechanisms.
: Active/deactivate the turret's mechanisms.
{{bug|The Enable/Disable inputs have no effect while the turret is knocked over.}}}}
{{bug|The Enable/Disable inputs have no effect while the turret is knocked over.}}
{{IO|DepleteAmmo}}
; <code>DepleteAmmo</code>
{{IO|RestoreAmmo|Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.
; <code>RestoreAmmo</code>
{{bug|The DepleteAmmo/RestoreAmmo inputs have no effect on Portal turrets.}}}}
: Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.
{{IO|SelfDestruct|Emit a warning then self-destruct in a small explosion.|since=EP2}}
{{bug|The DepleteAmmo/RestoreAmmo inputs have no effect on Portal turrets.}}
{{I Targetname}}<noinclude>
; {{EP2 add|<code>SelfDestruct</code>}}
[[Category:Input Templates|Npc turret floor]]
: Emit a warning then self-destruct in a small explosion.
</noinclude>
{{I Targetname}}

Revision as of 18:49, 23 January 2020

Enable
Disable
Toggle
Active/deactivate the turret's mechanisms.
Icon-Bug.pngBug:The Enable/Disable inputs have no effect while the turret is knocked over.  [todo tested in ?]
DepleteAmmo
RestoreAmmo
Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.
Icon-Bug.pngBug:The DepleteAmmo/RestoreAmmo inputs have no effect on Portal turrets.  [todo tested in ?]
SelfDestruct  (in all games since Half-Life 2: Episode Two)
Emit a warning then self-destruct in a small explosion.