ClimbExit
┗> Event > Object > Class
A ClimbExit allows the player to leave climbable areas and stop climbing.
ClimbExit is an Event - naming an object climbexit on an objects layer in a map creates this object.
Constructor
ClimbExit(x: number?, y: number?, shape: number, y?]?, settings: ClimbExitSettings?)
Arguments:
| x: number? | |
| y: number? | |
| shape: number, y?]? | |
| settings: ClimbExitSettings? | The settings for a ClimbExit. |
Methods
ClimbExit:getExitDirection()
return #1:
| "up"
| "down"
| "left"
| "right"
Returns:
| 1: "down"|"left"|"right"|"up"|nil |
Fields
ClimbExit.target: string|integer|table|[number, number]| integer }
The identifier of the target event that this ClimbExit leads to.
ClimbExit.target_x: number?
The x position that the player will jump to.
ClimbExit.target_y: number?
The y position that the player will jump to.