GSC reference › Built-in
IsOnLadder()
Built-in (engine)
Server
Called on: player
Return true if the player is on a ladder, false otherwise.
Signature
<player> IsOnLadder()
Called on an entity: player IsOnLadder(...)
Returns
Return true if the player is on a ladder, false otherwise.
Example (from Treyarch's docs)
self IsOnLadder()
Real uses in BO3's scripts
Called 8 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_weap_ball.gsc, line 2383
if(!self isonladder()) - scripts/zm/gametypes/_globallogic_player.gsc, line 1953
if(ragdoll_jib || self isonladder() || self ismantling() || smeansofdeath == "MOD_CRUSH" || smeansofdeath == "MOD_HIT_BY_OBJECT") - scripts/mp/gametypes/_globallogic_player.gsc, line 4180
if(ragdoll_now || self isonladder() || self ismantling() || smeansofdeath == "MOD_CRUSH" || smeansofdeath == "MOD_HIT_BY_OBJECT") - scripts/mp/gametypes/ball.gsc, line 2470
if(!self isonladder()) - scripts/mp/gametypes/infect.gsc, line 1387
while(!self isonground() && !self isonladder())
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).