Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 07-20-2002, 06:21 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Re: Hidden Script Commands

Quote:
Originally posted by Python523
I've felt kindof guilty about keeping these commands to myself, they are pretty cool:

Hidden Command #1:
getnearestplayer(x,y);
serverside command, gets the index of the closest player to the specified index, the index can then be used like
near=getnearestplayer(x+1,y+2.5);
with(players[near]){
//stuff here;
}

Hidden Command #2:
encryption , serverside
setstring this.password,#E(password);
its a 1 way encryption, I think stefan told me it has an 8 character limit
how to check if a password matches:
if (passwordmatches(#s(this.password),#c))
somethin like that, here's an example of using both:
if(created){
setstring this.password,#E(Stefan);
}
if(playerchats&&passwordmatches(#s(this.password), #c)){
say2 Works;
}

Hidden Command #3:
getflagkeys(string)
clientside
if you have asdf1, asdf4, and asdf102 set, getflagkeys(asdf) would give you an array of 1,4,102
asdf = getflagkeys(blah);
if i had blah1,blah2, and blah3 set, it would make asdf :
asdf={1,2,3};
it stores numberical data only in a var array basically

Those are some of the hidden commands I think noone else knows of/heard of
*proud of you for not being selfish but is still angry because he should actually be the moderater of this forum*
Quote:
Originally posted by Sparker3000
but do you know what the command drawovertrees does?
i really wish to know
It was actually something having to do with NewWorld I believe. An obviously un-needed command, just no real reason to remove it.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #32  
Old 07-20-2002, 07:24 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Draw over trees will draw over the "Drawover" tiles. These are special tiles that NW uses to draw tiles over the player w/ the regular tileset. (although im pretty sure you can do it with the normal graal, if only I knew how....)
__________________

subliminal message: 1+1=3
Reply With Quote
  #33  
Old 07-20-2002, 10:20 AM
Sparker3000 Sparker3000 is offline
Registered User
Join Date: Apr 2002
Location: Brazil
Posts: 160
Sparker3000 is on a distinguished road
Send a message via ICQ to Sparker3000 Send a message via AIM to Sparker3000
Quote:
Originally posted by Falcor
Draw over trees will draw over the "Drawover" tiles. These are special tiles that NW uses to draw tiles over the player w/ the regular tileset. (although im pretty sure you can do it with the normal graal, if only I knew how....)
???
im confused
loriel said that in old graal versions it had the same effect of drawaslight command
Reply With Quote
  #34  
Old 07-22-2002, 02:04 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
So i guess the drawover tiles are on the same level as the drawoverplayer npcs?
__________________

subliminal message: 1+1=3
Reply With Quote
Reply


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 09:25 AM.


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