Skip to content

List All Actors

Pavle edited this page Mar 2, 2021 · 1 revision
static ZActorManager* actorManager = reinterpret_cast<ZActorManager*>(Globals::g_pActorManagerSingleton);

for (unsigned int i = 0; i < actorManager->m_aliveActors.Size(); i++)
{
    ZActor* actor = actorManager->m_aliveActors[i];
}
Clone this wiki locally