Jump to content

Entities Path

From Kingpin Wiki

path_corner

Map Entity Color: (.5 .3 0) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)

It defines a destination point for moving brush entities. Use path_corner_cast for AI's paths.

Spawnflags

Flag Name Description
1 TELEPORT Entities targeting this point will instantly appear here.

Keys

Key Description
target Next path_corner's ID
targetname This path_corner's ID
killtarget ID of the entity to delete when reached
pathtarget Entity to trigger when an entity that has this path_corner targeted touches it
wait Wait (in seconds)
speed func_train_rotating only: departure speed from that corner
rotate func_train_rotating only: angle change for X Y Z to next corner
duration func_train_rotating only: duration for angle change (overrides speed)

path_corner_cast

Map Entity Color: (.5 .3 0) (COLOR PREVIEW) Dimensions: (-16 -16 -24) (16 16 42)

It defines a destination point for moving actors. When an actor reaches the point, an event can be triggered. Use path_corner for brush-based entities.

Spawnflags

Flag Name Description
1 TELEPORT Entities targeting this point will instantly appear here.

Keys

Key Description
target Next path_corner_cast's ID
targetname This path_corner_cast's ID
killtarget ID of the entity to delete when reached
name Sound to play when reached
pathtarget Entity to trigger when an entity that has this path_corner targeted touches it
combattarget When the cast reaches this marker, they'll attack this target
scriptname Hard-coded script to call when reaching this marker
wait Wait (in seconds)