Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   bomy and human walk commands (https://forums.graalonline.com/forums/showthread.php?t=5182)

Bravo_LAT-Admin 06-19-2001 11:04 PM

bomy and human walk commands
 
ok say i make a bomy npc. and i want it to walk from 12,12 to 15,15 how exactly would i set up the script for that and would it be different server side from client side and the same thing for human npcs.....:confused:

TB3 06-20-2001 01:47 AM

Ummm not sure what you mean but if thats all you want to do just do this

NPC Code:

if (created) {timeout=.1;}
if (timeout) {
setcharani bomy_walk;
move 3,3,1,16;
sleep 1;
setcharani bomy_idle;
}



I hope thats what you are looking for i use a more advanced non lag coding on all my character movements Its needed alot for our new portion to faheria.

But work around with that if its what you are lookin for i hope it is lol.

T-Squad 06-20-2001 03:23 AM

Quote:

Originally posted by TB3
I hope thats what you are looking for i use a more advanced non lag coding on all my character movements Its needed alot for our new portion to faheria.

More advance? :D I hardly call "move" more advance...its harder to use if you doing random movement, but certainly isn't nearly as advance as direct x/y changing....at the least its less advance, because you can't do nearly as much stuff with move, then you can with direct x/y changing...heh but they both aren't exactly advanced

activeconvict 06-20-2001 04:23 AM

I need to learn to script better. =(

Bravo_LAT-Admin 06-20-2001 07:48 AM

THANX!
 
yes thank you thats what i was looking for. thank you ^_^

Admins 06-20-2001 07:55 AM

for what is the timeout thing in that code? why not doing it in
the if (created) part?

T-Squad 06-20-2001 08:15 AM

heh yeah TB3 the timeout is pretty useless...unless you make it start over or something, but there are other, less laggier ways to make it start over

Bravo_LAT-Admin 06-20-2001 10:27 PM

question on that move command
 
for the move command it foes 3,3,1,16 what exactly does the 16 do? the 3's are the movemtn for x,y and th 1 is the speed but what is the 16? i've edited the number and seen no change in the action of the npc

T-Squad 06-20-2001 11:30 PM

Re: Re: question on that move command
 
Quote:

Originally posted by Kaimetsu
NEWFEATURES.TXT
woah thats not good...looks like someone got kai mad....

*trying to get 500 posts*

vergil 06-20-2001 11:39 PM

i was going to say the same thing when Geovanie asked for all of the keydown() values but i thought better of it


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

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