Workshop.codes
Create

Start Forcing Player Position Last updated November 26, 2024

Description

Starts forcing a player to be in a given position. IF reevaluation is enabled, then the position is evaluated every frame, allowing the player to be moved around over time.

Snippet

Start Forcing Player Position(Event Player, Vector(0, 0, 0), True);

Properties

Returns: Void
Parameters: Player, Position, REEVALUATE

Player
Type: Player, Default: Event Player
The player whose position will be forced. (The reevaluation option does not apply to this value.)

Position
Type: Position, Default: Vector
The position the player will occupy. If reevaluation is enabled, this value can be used to move the player around over time.

REEVALUATE
Type: Boolean, Default: True
If this value is true, then the position will be reevaluated and applied to the player every frame. If this value is false, then the posiiton is only evaluated once when the action begins.

Workshop.codes