Thread: New Functions?
View Single Post
  #24  
Old 04-07-2005, 07:11 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Quote:
Originally Posted by Stefan
You mean for scripts on serverside?
Yes. On Control-NPC, I have this party system that I wish to remove the person from the party when they leave the server. I resolved that by doing a timeout loop. I do not believe that timeout loops are the best technique, provided that I can do it with a onplayerlogout.


Quote:
Originally Posted by Stefan
Since you are not doing that too often it shouldn't be a problem, scripts are not really that slow
It has actually caused quite considerible lag in the past, I do believe (when players use it as a chat room, and there are 30 players actively talking?)

Quote:
Originally Posted by Stefan
Whats the problem with that? You mean you want to access other peoples clientr variables on clientside?
Yea. It would be a lot neater... Such as -- I'd be able to access the other player's health stats, and perhaps make a heat-sensor a lot dimmer when they have low health, or perhaps other stimuli for it.

Quote:
Originally Posted by Stefan
makevar(Items.(@ number))
It can only resolve the variable name if the dot is not in a string
Okay -- That should do... Although, it does work after the Database NPC was updated.
__________________
In a world of change... Who'll you believe?
Reply With Quote