<aside> ⚡ script "core_getptrteam" (int ptr)
</aside>
Returns the current team of the calling actor’s selected actor pointer.
ptr: int - The actor pointer to obtain the team of. Use AAPTR_DEFAULT to refer to the calling actor itself.Returns the selected pointer’s team. If the current game mode has no teams, then this will always return -1.