<aside> ⚡
script "core_compareptr" (int ptr1, int ptr2)
</aside>
This script can be called to see if two of the calling actor’s actor pointers point to the same actor (and don’t point to AAPTR_NULL
).
ptr1
: int - The first actor pointer to use for comparison.ptr2
: int - The second actor pointer to use for comparison.Returns true if the two actor pointers point to the same actor, false otherwise.