View Single Post
  #7  
Old 08-31-2007, 10:13 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Switch View Post
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.
__________________
Reply With Quote