Quote:
Originally Posted by Switch
so player.attr[index] is for attrs, what about params? and also, how would I be able to set the default attr/param to another image via script and be able to replace maybe idle with the person holding a beer as idle, like the example at the begining of the thread??
|
Params are sent with the
setani()/
setcharani() function like I said before.
replaceani(defaultani, newani); can be used to replace the default ganis with custom ones.
Ex:
replaceani("idle", "mycustomidle");
Graal would use "mycustomidle" in place of the default idle animation from that point on, you would use
replaceani("idle", "idle"); to change it back to normal.
By the way, I would like to know if there are GS2 versions of those.