Nuclide
Software Development Kit for id Tech
path_corner.qc File Reference

Classes

class  path_corner
 

Variables

 enumflags
 

Variable Documentation

◆ enumflags

enumflags
Initial value:
{
PC_WAIT,
PC_TELEPORT,
PC_FIREONCE
}

QUAKED path_corner (.5 .3 0) (-8 -8 -8) (8 8 8) PC_WAIT PC_TELEPORT PC_FIREONCE

OVERVIEW

Node entities used for func_trains and func_guntargets.

KEYS

  • "targetname" : Name
  • "target" : Next node.
  • "message" : Target to trigger when a train passes this node.
  • "speed" : New speed for passing train.
  • "yaw_speed" : New yaw rotation for passing train. Currently unused.
  • "wait" : Waiting time until we go to the next node.

INPUTS

  • "OnPass" : Triggered when a 'train' passes over this node.

SPAWNFLAGS

  • PC_WAIT (1) : Train will stop moving once passed. Needs retrigger to progress.
  • PC_TELEPORT (2) : Train passing will immediately teleport to "target".
  • PC_FIREONCE (4) : Only fire its target (message) once.

TRIVIA

This entity was introduced in Quake (1996).