When a gani script shown by a showani uses parameters, they either aren't passed or can't be accessed.
I tested this on both v3 and v4.
The script I used:
PHP Code:
GANI - ganiparamtest.gani
function onPlayerEnters() {
showimg(30,params[0],x,y);
}
PHP Code:
WEAPON - Gani Params
function onWeaponFired() {
showani(400,player.x,player.y,0,"ganiparamtest","block.png");
}
If this were working properly, it would show block.png on the player when the weapon is fired.
Unless I screwed up the syntax, that's not the problem.
The GS1 equivalents of these scripts both work perfectly on v2.
Nothing happens on v3 or v4, even if it's GS1 or GS2.