Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   playerz (https://forums.graalonline.com/forums/showthread.php?t=33937)

emortylone 07-21-2002 11:14 AM

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.

Torankusu 07-21-2002 11:29 AM

the tile has to be on the same z as the player, I think. (gmaps.)

emortylone 07-21-2002 11:40 AM

Oh so it wont work?
Well is there anyway i can script over that?

Python523 07-21-2002 11:43 AM

you could just remove the shadow from the gani

emortylone 07-21-2002 11:59 AM

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.

Torankusu 07-21-2002 12:03 PM

just use replaceani

like "if (playerenters) {replaceani - whatever;}"
and un-replace the anis when people leave.

emortylone 07-21-2002 12:12 PM

well thanks i guess i will do that.
if it solves my problem its okay with me.

Torankusu 07-21-2002 12:36 PM

if (playerenters){
replaceani idle,idle2;
}
I think. or "find" replaceani and check its format.

emortylone 07-21-2002 01:00 PM

Yeah i know.
Thanks its working great.
I also did sounds for grass awater and such steps


All times are GMT +2. The time now is 11:58 PM.

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