Skip to main content

path_corner

path_corner icon
Point entity

A path_corner marks a stop on the path of a func_train, an env_modeltrain, a func_guntarget, a trigger_camera or a monster.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Next stop targettarget

Names the next path_corner on the path.

Fire On Passmessage

The corner fires this target when a train, a func_guntarget or a trigger_camera reaches it.

Wait herewait

Sets how many seconds a train or camera waits at this corner before it moves on to the next one.

Default 0
New Train Speedspeed

From this corner on, the train or camera moves at this speed, in units per second.

If you leave this key empty or set 0, the speed doesn't change.

Default 0
New Train rot. Speedyaw_speed

From this corner on, a func_train or an env_modeltrain turns around its vertical axis at this many degrees per second while it moves. A negative value turns it the other way. The train doesn't turn while it is stopped, and a func_train turns around its origin brush.

If you leave this key empty or set 0, the turning doesn't change.

Default 0

Flags​

1Wait for retrigger

The train stops at this corner and waits until you trigger it again

2Teleport

A train heading for this corner jumps to it at once instead of moving there

4Fire once

Fire On Pass only fires the first time something reaches this corner

See also​

Changes since 1.38​

  • Fixed the New Train rot. Speed key of path_corner being ignored. The game never read the key