Jump to content

Gutterboy

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 GBP 

Bug Comments posted by Gutterboy

  1. I didn't feel like trying to figure out why the conversion of ObjectGuid to a UINT32 and then back to an ObjectGuid doesn't work, so instead I just modified this line:

                    ai->ReceiveAIEvent(AI_EVENT_CUSTOM_C, (Creature *)pGo, pPlayer, pGo->GetGUIDLow());
     

    And this case statement:

                case AI_EVENT_CUSTOM_C: // notify me; @TODO inplement normal ObjectGuid transfer between scripts
                    {
                    if(GameObject *pGo = (GameObject*)sender)
                        NotifyMe(invoker, pGo);
                    /*ObjectGuid guid = ObjectGuid(HIGHGUID_GAMEOBJECT, 0, data);
                    if (GameObject *pGo = this->m_creature->GetMap()->GetGameObject(guid))
                        NotifyMe(invoker, pGo);*/
                    break;
                    }
     

    Now it works.

×
×
  • 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