<aside> ⚡ script "core_pitdebug" (int tid, int who, int debugger)
</aside>
<aside>
💡 This script is not intended to be called in code, instead it is a debug script which should be called via using the pukename
command in console!
</aside>
This debug script can be puked in console to see if a given actor is detected as being over a pit or not. The effects of this script can be cancelled by the player denoted by debugger
pressing crouch.
tid
: int - This parameter is only used if who
is also set. The information obtained will be from one of the actor pointers of the TID passed. Use 0 to refer to activator of the script.who
: int - Determines which actor that information is obtained from. The following values are accepted:
AAPTR_TARGET
of tid
AAPTR_MASTER
of tid
AAPTR_TRACER
of tid
AAPTR_PLAYER_GETTARGET
of tid
AAPTR_FRIENDPLAYER
of tid
debugger
: int - The player number of the player who wants to control the script. This player must hit crouch to disable the debugging.