Was just testing LUA on my newly compiled ArcEmu 3.0.3 server and I tried the "pUnit:SpawnCreature" command. Here was the function:
Code:
function Orcolase_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "YOU SHALL NEVER ESCAPE MY WRATH")
pUnit:CastSpell(48942)
pUnit:SpawnCreature(6, 3388.770020, 2066.959961, 64.635696, 3.035560, 14, 10000000)
end
RegisterUnitEvent(1000001, 1, "Orcolase_OnCombat")
Well, everything worked fine but, the Koblod Vermin spawned as a checkered box! I think this is occuring because when the Vermin spawns, Instead of entering the newly spawned creature into the "creature_Spawns" table, his spawn ID is left at 0. Corret me if i'm wrong but it looks like ArcEmu needs to fix that.
Im not complaining, just pointing it out (and again, there may be something wrong with my script, thats why im posting it as a question)
-thanks