apc_on_path
Jump to navigation
Jump to search
A prefab located in the Prefabs HL2 folder, containing an NPC driven APC setup.
This prefab includes the following:
- A prop_vehicle_apc model with the scripts/vehicles/apc_npc.txt script file.
- An npc_vehicledriver.
- 5 path_corner nodes.
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: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.