Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-30-2001, 05:03 PM
TheFrozenFiend TheFrozenFiend is offline
Registered User
TheFrozenFiend's Avatar
Join Date: Apr 2001
Posts: 582
TheFrozenFiend is on a distinguished road
NPC scripting command....

.............

playerspeed - To set the speed at which a player moves (default being 1). I know this can be done without the command, but it helps to reduce the size of large scripts (such as system npcs).
Then you could have npcs that only work if the player is going fast/slow enough.
eg.
NPC Code:

if(playerspeed>=1.5)
{message BOO!}



speed - Same as playerspeed but for npcs.
__________________



Also known as TDM
Reply With Quote
  #2  
Old 12-31-2001, 02:11 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
hmmm...this could be useful in some situations,

but how would you support things like the lizard shield?
Reply With Quote
  #3  
Old 12-31-2001, 05:42 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
this.speed=0.35+playershieldpower;

*shrugs* Not hard.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #4  
Old 01-01-2002, 02:51 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

And again, Tyhm comes through with an amazingly l33t command! And the peasants rejoice!!

<Peasants> *rejoice*
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
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 08:48 PM.


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