can someone give me an example of an item script in C++ like a teleporter please thanks XD
can someone give me an example of an item script in C++ like a teleporter please thanks XD
Lunar Gaming - Reaching For The Stars
omg its your luuuuuuucky day i'm the one who first got the item working, well publicly (wowlord = evil) anyhow, you do it almost exactly the same as with a teleporter npc, scripts and all are identical, there is only one tiny thing left to do, at the bottom of the guard_gossip file, change the npc line
mgr->register_gossip_script(npc_id,*nameofscript*);
to
mgr->register_item_gossip_script(itemid,*nameofscript*);
and most importantly, put this spell on your item, 33208, as on use (flag is 1)
Last edited by venom9122; 07-08-2008 at 08:38 PM.
Don't worry, this won't bring up a BSOD......... well not this time.
Sweet Bro thanks for zee help +Rep
Lunar Gaming - Reaching For The Stars
lol it should be
register_item_gossip_script(entry, name);
oh whoops, how did i manage that, i intended change i'm guessing you could tell,
Don't worry, this won't bring up a BSOD......... well not this time.