kill problem

04/10/2014 20:04 Distraught#1
Hello everyone,
Today I got a problem.
Alas, the kill function doesn't wanna work. I dunno why...
eg.: when 2660.kill begin with pc.in_dungeon()
d.notice("blahblahblah")
end
04/10/2014 20:18 MrPlayboy#2
Move "begin" to the end of the line
04/10/2014 20:30 .Colossus.#3
Quote:
Originally Posted by MrPlayboy View Post
Move "begin" to the end of the line
Code:
when 2660.kill with pc.in_dungeon() begin
04/10/2014 20:34 .Shōgun#4
You have two options:

1) when kill with npc.get_race() == 2660 and pc.in_dungeon() begin
2) add the npc in questnpc.txt and give it a name then refer to that name: when whatever.kill with pc.in_dungeon() begin
04/11/2014 21:50 Distraught#5
Thanks!
I put the begin to the end of the line,the problem was not that.
I tried Shogun's idea too, but it also doesn't wanna work.
04/13/2014 11:14 Distraught#6
#UP