Skip to content

five-on-it / packages/sim/src/escape / canGlide

Function: canGlide() ​

canGlide(sim, eid): boolean

Defined in: packages/sim/src/escape.ts:266

Whether a character may open the paraglider now: on foot and up, not on a line, a ladder or in the water, and either falling or standing at a roof's edge along its aim (the ground GLIDER.edgeAhead m ahead dropping GLIDER.edgeDrop m or more).

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean