ClimbArea

┗> Event > Object > Class


A ClimbArea is an area the player can climb on.

To enter one, you must either use a ClimbEntry, or enter the room at a marker with "player_state" set to "CLIMB".

To exit one, you must use a ClimbExit.

ClimbArea is an Event - naming an object climbarea on an objects layer in a map creates this object.


Constructor


ClimbArea(x: number?, y: number?, shape: number, y?]?)

Arguments:

x: number?
y: number?
shape: number, y?]?




Methods




ClimbArea:isClimbable()

Whether or not this area can be climbed on.

Returns:

1: boolean


ClimbArea:onClimbMove(player: Player)

(Override) Called when the player finishes a move on this area. Examples being moving, jumping, or falling onto this area.

Arguments:

player: Player

The character controlled by the player when in the Overworld.



ClimbArea:setClimbable(climbable: any)

Sets whether or not this area can be climbed on.

Arguments:

climbable: any



Undocumented