Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-19-2001, 11:04 PM
Bravo_LAT-Admin Bravo_LAT-Admin is offline
Registered User
Join Date: Jun 2001
Location: banana
Posts: 165
Bravo_LAT-Admin will become famous soon enough
Question 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.....
  #2  
Old 06-20-2001, 01:47 AM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
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.
__________________

To the sun of your age, I arise
  #3  
Old 06-20-2001, 03:23 AM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
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? 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
  #4  
Old 06-20-2001, 04:23 AM
activeconvict activeconvict is offline
HIRYUU
activeconvict's Avatar
Join Date: Mar 2001
Posts: 1,162
activeconvict is on a distinguished road
I need to learn to script better. =(
__________________
HIRYUU
  #5  
Old 06-20-2001, 07:48 AM
Bravo_LAT-Admin Bravo_LAT-Admin is offline
Registered User
Join Date: Jun 2001
Location: banana
Posts: 165
Bravo_LAT-Admin will become famous soon enough
Talking THANX!

yes thank you thats what i was looking for. thank you ^_^
  #6  
Old 06-20-2001, 07:55 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
for what is the timeout thing in that code? why not doing it in
the if (created) part?
  #7  
Old 06-20-2001, 08:15 AM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
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
  #8  
Old 06-20-2001, 10:27 PM
Bravo_LAT-Admin Bravo_LAT-Admin is offline
Registered User
Join Date: Jun 2001
Location: banana
Posts: 165
Bravo_LAT-Admin will become famous soon enough
Question 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
  #9  
Old 06-20-2001, 11:30 PM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
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*
  #10  
Old 06-20-2001, 11:39 PM
vergil vergil is offline
Registered User
vergil's Avatar
Join Date: Mar 2001
Posts: 1,408
vergil will become famous soon enough
Send a message via ICQ to vergil
i was going to say the same thing when Geovanie asked for all of the keydown() values but i thought better of it
 


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:36 PM.


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