Npc rocket turret: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=npc_rocket_turret}}
[[File:Rocket_turret.jpg|thumb|right|150px|Aperture Science Rocket Turret]]
 
{{portal point|npc_rocket_turret}}
 
==Entity Description==
==Entity Description==
[[Image:Rocket_turret.jpg|frame|right|Aperture Science Rocket Turret]]
Aperture Science Rocket Turret
Aperture Science Rocket Turret
==Availability==
 
This point entity is exclusive to [[Portal]].
==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
* {{KV Targetname}}
* {{KV Parentname}}
* {{KV Parentname}}
* {{KV Angles}}
* {{KV Angles}}
==Inputs==
==Inputs==
* {{I Targetname}}
* {{I Targetname}}
Line 18: Line 20:
* '''Destroy'''
* '''Destroy'''
: Sets this turret to it's destroyed state.
: Sets this turret to it's destroyed state.
==Outputs==
==Outputs==
* {{O Targetname}}
* {{O Targetname}}
Line 26: Line 29:
* '''OnDeath'''
* '''OnDeath'''
: Fired after this turret finishes its destroy think and begins its death think.
: Fired after this turret finishes its destroy think and begins its death think.
[[Category:Portal Entities]]

Revision as of 06:29, 23 April 2011

Aperture Science Rocket Turret

Template:Portal point

Entity Description

Aperture Science Rocket Turret

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • Toggle
Toggle this entity.
  • SetTarget
<string> Sets the target for this turret to attack.
  • Destroy
Sets this turret to it's destroyed state.

Outputs

  • OnFoundTarget
Fired when the rocket turret finds an unobstructed target.
  • OnLostTarget
Fired when turret's target is blocked.
  • OnDeath
Fired after this turret finishes its destroy think and begins its death think.