NPC, which makes firework
Hello,
Im new here, i have a question http://forum.ragezone.com/../../imag...s/surprise.gif:
I tried to make a npc which makes a firework when you talk to him.
namespace eval fireworks {
#--------------------------------------------------------
proc GossipHello { npc player } {
SendSwitchGossip $player $npc 1
SendGossip $player $npc { npctext 100000 }
{ text 0 "FIREWORK" } <----- this seems to be the problem coz the emu says "incorrect command name " text 0 "FIREWORK "
}
#--------------------------------------------------------
proc GossipSelect { npc player option } {
switch $option {
0 { castspell $npc $npc 17447 }
}
SendGossipComplete $player
} .......
do u know what is wrong?? By the way: the spell ID is still incorrect ill find it when the npc is working.
thx and cu
Re: NPC, which makes firework
can you tell me where i have to place the code?
sorry i'm a totally noob ;)
thanks a lot