Logic Entity

LogicAuto

Fires an output on the first frame after a map loads, then despawns itself.

Outputs

Name Pass Variables Description
OnMapSpawn Fires once on the first update frame after the map is fully loaded. The entity then despawns immediately.

Universal Inputs

These inputs are available on every entity in the engine, not just this one.

Name Parameter Description
GetValue String Reads the named exposed value from this entity and injects it into the pass variable pool. See Advanced Outputs for details.
AddVelocity x,y,z Adds the given vector to the entity's current velocity.
SetVelocity x,y,z Sets the entity's velocity to the given vector, discarding any current velocity.
SetPosition x,y,z Teleports the entity to the given world position.
SetScale x,y,z Sets the entity's scale.
SetRotation x,y,z Sets the entity's rotation from Euler angles in degrees.
AddImpulse x,y,z Applies an instantaneous physics impulse to the entity.
Destroy Despawns this entity on the next frame.

Notes

LogicAuto is the standard way to run any logic that needs to happen automatically at map start without player involvement. Because it fires on the first update frame rather than during the load itself, all other entities in the map are guaranteed to be spawned and ready to receive inputs by the time OnMapSpawn fires.

Because LogicAuto despawns after firing, it does not need save support. It will always fire fresh on each map load regardless of save state.