Apc on path: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Next hundred edits are converting {{wrongtitle}} to {{DISPLAYTITLE}})
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
Line 1: Line 1:
{{DISPLAYTITLE:apc_on_path}}
{{DISPLAYTITLE:apc_on_path}}


[[Image:Prefab apc on path.jpg|thumb|100px|right|An apc_on_path prefab.]]
[[File:Prefab apc on path.jpg|thumb|100px|right|An apc_on_path prefab.]]


A [[prefab]] located in the ''Prefabs HL2'' folder, containing an NPC driven APC setup.
A [[prefab]] located in the ''Prefabs HL2'' folder, containing an NPC driven APC setup.

Latest revision as of 00:14, 7 January 2024


An apc_on_path prefab.

A prefab located in the Prefabs HL2 folder, containing an NPC driven APC setup.

This prefab includes the following:

When the npc_vehicledriver is activated (for example through a simple trigger), it is set up to drive the APC model along the 5 path_corners.

Tip.pngTip:The path_corners can easily be moved around to set up a different route, and disabling the Start Inactive flag of the npc_vehicledriver will remove the need for a trigger.