ai_hint

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
It should not be placed (in Hammer) because only the entities mentioned below can pass the hint type to it.

Code classes:

ai_hint is a point entity present in all games except the L4d.pngL4d2-small.pngLeft 4 Dead games. When an info_hint, info_node_hint or info_node_air_hint has a Hint (hinttype) other than None, this entity will be created in place of it and retain much of the former entity's data, including targetname and IO.

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
ai_drop_hintintHint TypeCreates an ai_hint with the origin and angles of the player camera. If no number is included, it prints a list of valid types.

Keyvalues[edit | edit source]

Node FOV (nodeFOV) <float>
In order for an NPC to use this node, the NPC must be within the node's FOV (which is centered on the Pitch Yaw Roll (angles)). Any number may be entered. 360 means any angle is acceptable.

Inputs[edit | edit source]

EnableHint
Enables the hint.
DisableHint
Disables the hint.

Outputs[edit | edit source]

OnNPCStartedUsing <string>
Fired when an NPC starts using this hint node as part of an actbusy. Automatically puts the targetname of the NPC as the input parameter, unless overridden by the mapper.
OnNPCStoppedUsing <string>
Fired when an NPC stops using this hint node as part of an actbusy. Automatically puts the targetname of the NPC as the input parameter, unless overridden by the mapper.