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
  #1  
Old 10-18-2001, 08:13 AM
JinZero JinZero is offline
something vague
Join Date: Mar 2001
Location: pokemon
Posts: 1,384
JinZero is on a distinguished road
Send a message via AIM to JinZero
Ganis

How do i make a npc do a gani?
__________________
there's. no. retreat.
Reply With Quote
  #2  
Old 10-18-2001, 08:14 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
setcharani ganiname,pngs it uses;
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 10-18-2001, 08:28 AM
JinZero JinZero is offline
something vague
Join Date: Mar 2001
Location: pokemon
Posts: 1,384
JinZero is on a distinguished road
Send a message via AIM to JinZero
How do i make it loop?
__________________
there's. no. retreat.
Reply With Quote
  #4  
Old 10-18-2001, 08:29 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
well you could either just edit the gani in graalshop to loop or use a timeout
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 10-18-2001, 08:34 AM
JinZero JinZero is offline
something vague
Join Date: Mar 2001
Location: pokemon
Posts: 1,384
JinZero is on a distinguished road
Send a message via AIM to JinZero
Quote:
Originally posted by AlexH
well you could either just edit the gani in graalshop to loop or use a timeout
I cant figure it out
__________________
there's. no. retreat.
Reply With Quote
  #6  
Old 10-18-2001, 08:36 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
well to do it timeout just do

if (timeout) {
setcharani ganiname,pngs it uses;
}
timeout=0.5

and do change the gani in graalshop open it and make loop true
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #7  
Old 10-18-2001, 08:43 AM
JinZero JinZero is offline
something vague
Join Date: Mar 2001
Location: pokemon
Posts: 1,384
JinZero is on a distinguished road
Send a message via AIM to JinZero
thanks
__________________
there's. no. retreat.
Reply With Quote
  #8  
Old 10-18-2001, 08:44 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
no prob
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #9  
Old 10-18-2001, 10:45 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
=/

actually its setani (or setcharani) and it goes setani ganiname,attribute1,attribute2,atttrib3,etc.; if you have no attributs setani ganiname,; if there is one attribute its setani ganiname,attrib1,; etc.
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #10  
Old 10-18-2001, 10:47 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
=/

and thats not how timeouts work at all. they go like this...
NPC Code:

if(created){
timeout=.05;
}
if(timeout){
timeout=.05;
COMMANDS;
}

__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #11  
Old 10-18-2001, 10:58 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: =/

Quote:
Originally posted by Sep3kP2P
and thats not how timeouts work at all. they go like this...
NPC Code:

if(created){
timeout=.05;
}
if(timeout){
timeout=.05;
COMMANDS;
}

well accually if your doing it for a npc server you can only have timeout = .1;

and I always go like this

if(timeout){
commands;
timeout=0.1;
}

but either way it works
__________________
Thanks,
-KJL
Reply With Quote
  #12  
Old 10-19-2001, 03:29 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
just remember you always have to have a way for the timeout to get started in the first place!!
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 04:01 PM.


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