[DiscordArchive] does that mean my git pull wont work next time?
[DiscordArchive] does that mean my git pull wont work next time?
Archived author: Foe • Posted: 2025-09-18T16:15:06.778000+00:00
Original source
correct, you can't pass object pointers
Archived author: Foe • Posted: 2025-09-18T16:15:28.154000+00:00
Original source
pass the guid and then fetch the creature object
Archived author: Ergo • Posted: 2025-09-18T16:25:44.144000+00:00
Original source
ok so I am doing npc:GetGUID() passing it, and then whats the method to get creature by GUID
Archived author: Ergo • Posted: 2025-09-18T16:29:22.769000+00:00
Original source
is it GetEntry?
Archived author: Foe • Posted: 2025-09-18T16:29:26.182000+00:00
Original source
```Lua
npc:RegisterEvent(function(_, _, _, worldobject)
MoveToFormation(worldobject, formPos)
end, 121000, 1)```
Just do this
Archived author: Ergo • Posted: 2025-09-18T16:31:35.681000+00:00
Original source
whats worldobject and what does _ pass
Archived author: Ergo • Posted: 2025-09-18T16:31:54.785000+00:00
Original source
is it one of those things that reference the current object or context or something
Archived author: Foe • Posted: 2025-09-18T16:31:59.705000+00:00
Original source
the callback function signature is eventid, delay, repeats, worldobject
Archived author: Foe • Posted: 2025-09-18T16:32:13.716000+00:00
Original source
the worldobject references the object that the event is registered to
Archived author: Foe • Posted: 2025-09-18T16:32:28.697000+00:00
Original source
so since you are trying to use that, and not just any random creature, you can just forward that