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-21-2002, 11:14 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
playerz

Im using the board command to do kind of a depth script.
Well i'm using playerz to do it and it works fine but the shadow stays pasted to the ground while the character goes up in the air.
Is there any way to fix this like on graal 2k2 where the shadow stays pasted under the player.
Reply With Quote
  #2  
Old 07-21-2002, 11:29 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
the tile has to be on the same z as the player, I think. (gmaps.)
Reply With Quote
  #3  
Old 07-21-2002, 11:40 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Oh so it wont work?
Well is there anyway i can script over that?
Reply With Quote
  #4  
Old 07-21-2002, 11:43 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
you could just remove the shadow from the gani
Reply With Quote
  #5  
Old 07-21-2002, 11:59 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Well, to make that better put a second shadow with a different index(since graal reads the first index) but i dont wanna go and edit all those NPCs..... I may since it will probly be just walk and idle. But i still want to solve this the right way by scripting.
Reply With Quote
  #6  
Old 07-21-2002, 12:03 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
just use replaceani

like "if (playerenters) {replaceani - whatever;}"
and un-replace the anis when people leave.
Reply With Quote
  #7  
Old 07-21-2002, 12:12 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
well thanks i guess i will do that.
if it solves my problem its okay with me.
Reply With Quote
  #8  
Old 07-21-2002, 12:36 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
if (playerenters){
replaceani idle,idle2;
}
I think. or "find" replaceani and check its format.
Reply With Quote
  #9  
Old 07-21-2002, 01:00 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Yeah i know.
Thanks its working great.
I also did sounds for grass awater and such steps
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 11:59 AM.


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