Npc rocket turret: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 6: Line 6:
This point entity is exclusive to [[Portal]].
This point entity is exclusive to [[Portal]].
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{KV Targetname}}
* {{KV Parentname}}
* {{KV Parentname}}
* {{KV Angles}}
* {{KV Angles}}

Revision as of 19:59, 19 January 2009

Template:Wrongtitle

Entity Description

Aperture Science Rocket Turret

Aperture Science Rocket Turret

Availability

This point entity is exclusive to Portal.

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

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.