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 07-05-2001, 05:29 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Walking while doing something.

Do any of you know how the Torch is made so i can get a example on something im working on?(Doesnt have to be the torch script lol)
Reply With Quote
  #2  
Old 07-05-2001, 01:33 PM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
-Jadis, Brady is letting me use his account to post...
I suppose it would be
I don't know the torch's gani though
PHP Code:
if (playerenters) if (torchheldreplaceani torch,walk;
if (
playertouchsme) {hidelocal;toweapons Torch;
if (
weaponfired) {
 if (
torchheld)
  unset 
torchheld;
  
replaceani walk,walk;
 } else {
  
set torchheld;
  
replaceani torch,walk;
 }

__________________
Reply With Quote
  #3  
Old 07-05-2001, 09:33 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by Kaimetsu
Nonono! "torch" is not a basic gani type. Here:

NPC Code:

if(weaponfired){
if(this.held==0){
replaceani walk,torchwalk;
replaceani idle,torchidle;
}
else{
replaceani walk,walk;
replaceani idle,idle;
}
}

He did say that he didn't know what the gani was.
__________________

Reply With Quote
  #4  
Old 07-05-2001, 10:29 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by Kaimetsu


Yes but he used "replaceani torch,idle" or something like that. "Torch" cannot be used as the first param, even if it is an existing gani.
Nevermind, I hadn't noticed that yet.
__________________

Reply With Quote
  #5  
Old 07-05-2001, 11:12 PM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
-Posted by Jadis

Hooray I am stupid
__________________
Reply With Quote
  #6  
Old 07-06-2001, 09:44 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Kool!

Thanks people! Please dont make fun of peoples ideas I thought he did good but the script might not work.
Reply With Quote
  #7  
Old 07-06-2001, 09:48 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
GGGGRRRR

Quote:
Originally posted by Kaimetsu
Nonono! "torch" is not a basic gani type. Here:

NPC Code:

if(weaponfired){
if(this.held==0){
replaceani walk,torchwalk;
replaceani idle,torchidle;
}
else{
replaceani walk,walk;
replaceani idle,idle;
}
}

YOU WENT MAKING FUN WHEN YOUR DOESNT EVEN WORK!
Reply With Quote
  #8  
Old 07-06-2001, 10:06 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
Well try and find the right gani for it... maybe torchwalk isnt the right name

also, you forgot setting the variables, just have if (this.whatever==0) and nothing setting the values.
__________________
Eric Kraft
Reply With Quote
  #9  
Old 07-06-2001, 10:19 AM
Lion'el-Jonson Lion'el-Jonson is offline
Please Wait....
Lion'el-Jonson's Avatar
Join Date: Mar 2001
Location: I like to eat food samples at price club.
Posts: 1,663
Lion'el-Jonson will become famous soon enough
Send a message via AIM to Lion'el-Jonson Send a message via Yahoo to Lion'el-Jonson
Egad! NPC script makes me dizzy.
__________________


"My words are like weaponry on a record"
Reply With Quote
  #10  
Old 07-07-2001, 12:41 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
I know YOU know what you did wrong, but Poogle doesnt
__________________
Eric Kraft
Reply With Quote
  #11  
Old 07-07-2001, 06:22 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
eR1c...

Your soo right if i knew then dangit this post wouldnt be here! and shouldnt you be working on ToT? It wont get up probly becuse you all play around it seems like!
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 06:45 PM.


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