Jump to content

battleground with multiple instance.


Guest Ayane

Recommended Posts

no

it works like this

dbtableguid is stored in code and is connected to event

when a creature gets spawned i look if dbtableguid matches some event, if no->just spawn it

if yes, add creature to bg-instance creature/gameobject map (m_EventObjects[event1,event2]=creature/guid) and then look if event is active->spawn or not ->no spawn

and later if we want to spawn a specific event we look in we look in m_EventObjects[event1,event2] and spawn every creature and gameobject of this instance

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use