Hey everybody,
My question today involves replaceani and the PARAM1 of a gani file. I have three ganis that rely on the value of the PARAM1 part of the gani file. They are a walk, idle, and attack gani.
Is there a way to set PARAM1 via a script?
for example:
PHP Code:
//#CLIENTSIDE
function onCreated() {
replaceani("idle","newidle");
replaceani("walk","newwalk");
replaceani("sword","newattack");
player.params[1] = "blah";
}
Something like that? (No, the above does not work)
Thanks in advance!