Template:O BaseTrain

From Valve Developer Community
Jump to: navigation, search
OnStart
Fired when the train starts moving in either direction.
OnNextPoint
Fires continuously every tick when the train is currently moving to its next destination.
Warning.pngWarning:In the default FGD, this is incorrectly listed as "OnNext" and has an incorrect description ("Fires when this train picks a new point to move towards (and just after OnStart)")
OnArrivedAtDestinationNode  (in all games since Portal 2)
Fired when this train arrives at a destination that was specified by the MoveToPathNode input.

Targetname:
OnUser1 to OnUser4
These outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnKilled  (only in Left 4 Dead)
This output fires when the entity is killed and removed from the game.