Template:Archived Page History/Template:O BaseTrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (slight rewording to OnNextPoint)
(Add portal 2 output)
Line 1: Line 1:
{{IO|OnStart|Fired when the train starts moving in either direction.}}
{{IO|OnStart|Fired when the train starts moving in either direction.}}
{{IO|OnNextPoint|Fires continuously every tick when the train is currently moving to its next destination.}}
{{IO|OnNextPoint|Fires continuously every tick when the train is currently moving to its next destination.}}
{{warning|In the default FGD, this is incorrectly listed as "OnNext", AND its description is completely wrong in the default FGD! ''(Fires when this train picks a new point to move towards (and just after OnStart))''}}
{{warning|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)")''}}
{{IO|OnArrivedAtDestinationNode|Fired when this train arrives at a destination that was specified by the MoveToPathNode input.|since={{portal2}}}}
{{O Targetname}}<noinclude>
{{O Targetname}}<noinclude>
[[Category:Output Templates|BaseTrain]]
[[Category:Output Templates|BaseTrain]]
</noinclude>
</noinclude>

Revision as of 22:59, 4 April 2023

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.