<aside> ⚡ script "core_gettarget" (int l, int pln)
</aside>
A script that can be called to get the TID of the calling actor’s AAPTR_TARGET
actor pointer.
l
: bool - If true, logs the returned TID to chat. Useful for debugging!pln
: bool - If true, will instead return a player number instead.Returns the TID / player number of the calling actor’s AAPTR_TARGET
actor pointer.