asw_pathfinder_npc

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

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

Code classes:

asw_pathfinder_npc is a point entity present in Asw.pngAlien Swarm. It's an NPC made to test alien pathfinding abilities. It will draw a valid walking path between a given start and end point.

Note: The map needs a reasonable amount of node entities if it is to do any real pathfinding.

FGD Code[edit | edit source]

@PointClass studio("models/aliens/drone/drone.mdl") = asw_pathfinder_npc : "Pathfinding tester"
[
]

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
asw_path_startPlaces a start point where the player is standing.
asw_path_endPlaces an end point where the player is standing.