quest info help needed

10/17/2012 15:01 OldFart#1
hello all

i have been trying to write a quest that when you kill a mob (eg:Azrael) it will then put a notice to all that you have killed him and the teleport to the start of catacombs or anywhere else

here is my effort...as really bad at quests

any help would be greatful

thanks OldFart

Quote:
quest azrael_map begin
state start begin
when 2598.kill begin
end
end
state azrael_map begin

chat("You have seen him beaten and expelled the evil.")
chat("You will be teleported out in 2 minutes!")
chat("Rapidly accumulates the treasures before it's too late.")
notice_all("The group of "..pc.get_name().." Azrael has defeated!")
pc.warp(314500 , 1210000)

end
end
10/17/2012 15:36 Fuzzy111#2
I've not tested it!

HTML Code:
quest azrael begin
	state start begin
		when kill begin
			if npc.get_race() == 2598 then
				notice_all("The group of "..pc.get_name().." Azrael has defeated!")
				timer("start", 60*2)
				chat("You have seen him beaten and expelled the evil.")
				chat("You will be teleported out in 2 minutes!")
				chat("Rapidly accumulates the treasures before it's too late.")
			end
		end
		when start.timer begin
			pc.warp(314500 , 1210000)
		end
	end	
end
10/18/2012 01:30 OldFart#3
thanks for that i will give it a try

OldFart