View Single Post
  #1  
Old 10-03-2002, 11:06 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
weapons and log-on

When you are logging on, you get all your weapons added, and the script of the weapons is executed imediatly.
My problem is that on Classic we are having such a command in our system NPC:
NPC Code:

if (!hasweapon(whatever)) {
setlevel onlinestartlocal.graal;
}


Now this will be executed before the weapon "whatever" was loaded, and so the player will always be warped when logging in.

It could be solved by not executing any scripts until all the weapons are loaded.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote