Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-24-2001, 09:23 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Googi
Okay...

I made the script...
NPC Code:

if (created) {
setimg door.png;
setshape 1,32,32;
}
if (strequals(#c,open door)&&strequals(#g,Dragon Knights)) {
move 2,0,99999999999,none;
}
if (strequals(#c,close door)&&strequals(#g,Dragon Knights)) {
move -2,0,99999999999,none;
}


Here is the problem.

When the players says open door more then once, without closing the door, the door just keeps on moving until it reaches the end of the level, the same thing goes with close door.



Can anyone tell me how to fix this?

Or does the same thing happen to pirate crew and Dustari?
It doesn't happen, you could use a server.string to fix that problem easy enough, except when you get too many server.strings, you lag the whole server
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.