<aside> ⚡ script "core_checkPitByType" (int type, int tid)
</aside>
Checks if the specified actor is above a pit of a specific type as defined by the mapper.
type
: int - The type of pit to check for. Supported values include the following:
MOD_WATER
(12)MOD_SLIME
(13)MOD_LAVA
(14)MOD_CRUSH
(15)MOD_FALLING
(17)MOD_EXIT
(20)MOD_ICE
(24)MOD_MASSACRE
(1000)tid
: int - The TID of the actor to check. A TID of 0 specifies the activator of the script instead.<aside> 💡 Note: This function may return unpredictable values for invalid actors or when called on CLIENTSIDE scripts. Be sure to check the actor you’re polling exists and that you’re using this from something with knowledge of the global ACS variables.
</aside>