![]() |
changing gani attribute in an npc
with what should be a very simple command to set the gani attribute
of a horse to the desired horse image (in a showcharachter clientside class npc): PHP Code:
The ride2.png is on the server, I checked. How do i get the horse image into the gani on the level? |
setcharani ride,ride2.png;
What you had was right, but wrong gani :X |
um no...
i just want a horse with nobody on it. the ride gani does not take the ride2.png and now looks like theres a floating charachter on an invisible horse x-x ... how do i do this? should not be as tricky as it is .. |
#5 is the image of the horse the player is riding.
|
Not being sure what #5 means, I tried the following ...
and none of these worked: PHP Code:
PHP Code:
what other method is there that I can find no documentation of to change this attribute number 5 that will actually work??? |
PHP Code:
|
so the charprop is set before the gani, that makes sense.
I tried it, and it works, thank you! A working line of code is a great Christmas present! Why then does every piece of documentation I can find on gani attributes say to put the letter P in front of it such as if you search for gani on the wiki it will liskt about #P1 - #P30 gani attributes How did you know that its just #5??????????? How do people FIND this seemingly hidden knowledge about gscript that is not documented in an easily accesible place, and how do I get on the inner circle of the club of the explination of the code? So that I wont have to keep asking how to make extermely simple things like this to make work? I am NOT refering to the wiki or the newfeatures files. I am referring to gscript functions that are not officially documented for general release. Why the "secret club" feeling about the code? I am a paying customer here too... |
...
Open the gani. Try to edit one of the horse sprites. Notice that the image says: HORSE It's not a set image, so it must be using your horse attribute. And we're just gifted. <3 |
| All times are GMT +2. The time now is 08:21 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.