<aside> ⚡
script "core_targetexists" (int tracer, int noTID)
</aside>
This is a script that can be called by projectiles to check if their target pointer spectated, disconnected, or is dead.
tracer
: bool - When toggled, this swaps the checked actor pointer to AAPTR_TRACER
.noTID
: bool - By default, this script will require the target / tracer to have a TID to be counted as alive, toggling this disables that check.Returns true if the target / tracer player is still valid, false otherwise.