Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   NPC scripting command.... (https://forums.graalonline.com/forums/showthread.php?t=19978)

TheFrozenFiend 12-30-2001 05:03 PM

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.

Faheria_GP2 12-31-2001 02:11 AM

hmmm...this could be useful in some situations,

but how would you support things like the lizard shield?

Tyhm 12-31-2001 05:42 AM

this.speed=0.35+playershieldpower;

*shrugs* Not hard.

entravial 01-01-2002 02:51 PM

~AlphaFlame~

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

<Peasants> *rejoice*


All times are GMT +2. The time now is 09:35 PM.

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