![]() |
GANI Scripts accessing strings
can they?
|
*bump*
|
Re: GANI Scripts accessing strings
Quote:
|
*read* strings
|
Quote:
|
No need, just access it directly from the NPC that causes you to have that animation. If it's needed for something in the animation, use it as a parameter.
|
well, I am making a guy that floats, and I want a shadow to be displayed below the player by reading string "altitude", so yes, maybe a parameter is the best way
|
Quote:
Hey! If you want that, you don't need a parameter. Just save the player x and y+3, put a little shadow image there, and then change the player's y- according to the specified altitude, and then have the shadow move along with the player. Is that genius or what? |
hey, maybe I want whatever lag there will be to be in synch with the lag of the player? so the altitude won't appear to change when it really isn't
|
Quote:
|
yes, the gani does the showimg clientside for each player who sees the gani, so the shadow will always appear to be "in synch" with wherever the player seems to be for each user
|
Quote:
cant he create a GANI with different frames in and then use a command to over but only show certain frames??? that way he can put the char shadow at different heights in the gani :) If not then why hasn't it been invented!!!! |
Quote:
ok lets use the example above make a hovering Gani 10 frames long. then within that same gani create another one 10 frames long but make the shadow a bit further down, etc etc obv not a big gani but lets say you do 5 of these. the rather than using showimg or any other way of doing it you could use a script to play first of ll 0 to 9 then if the altatidu is higher you could oplay 40 to 49 see what i mean? |
Quote:
|
Gani scripts can only read things like #Px,
because if they could read normal variables then you could add script to display the value and possibly cheat or so |
Quote:
|
Quote:
|
just make the string a gani parameter I guess, like
setani fly,#s(altitude); but, can script ganis even access that? Or can they only read permanant things like #P1? |
Quote:
|
| All times are GMT +2. The time now is 07:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.