Thread: finding doors
View Single Post
  #2  
Old 05-17-2010, 02:29 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

I have also noticed that if you set a script to specific door with sub EVENT_CLICKDOOR ect where a player clicks it and something happens you need to make sure you use both possible doorid's in an or statement ect

Code:
sub EVENT_CLICKDOOR {

if (($doorid == 1) || ($doorid == 257)) { quest::say("This door is locked"); }

}
Otherwise you will run into odd instances where some players can not open it because it gives them one id instead of the other. I don't know why, but it certainly happens.

Last edited by trevius; 05-17-2010 at 06:32 PM..
Reply With Quote