joelolopez Posted October 28, 2014 Posted October 28, 2014 i would like to request a npc that warp players into my gold room lets say for example in the ordeal map, after the usage of the room the npc will give the character a delay for room usage delay usage of room determined by how long the character is in the ordeal map Quote
Winz Posted November 3, 2014 Posted November 3, 2014 map,x,y,dir script GoldRoom 909, { set .@goldroomtime, 3600000; //in milliseconds warp ordeal,x,y; announce "You have 1 hour to stay in this Gold Room. The timer starts from NOW", bc_self; addtimer .@goldroomtime, "GoldRoom::OnTimeUp"; end; OnTimeUP: announce "Time's up!", bc_self; warp map,x,y; //returns the player back to the town end; OnPcLoginEvent: if (strcharinfo(3) == "ordeal") warp map,x,y; //returns the player back to the town end; } this is just like.... purchasing credit to cell phone. then, the player uses it. BUT, if he logged out while he's inside the room, then his time will vanish away. once he's logged back in, he's assumed he has no credit left. so, he'll teleported somewhere. Quote
Question
joelolopez
i would like to request a npc that warp players into my gold room lets say for example in the ordeal map,
after the usage of the room the npc will give the character a delay for room usage
delay usage of room determined by how long the character is in the ordeal map
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.