View Single Post
  #1  
Old 09-29-2005, 08:46 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
Resolved: showani params

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.
Reply With Quote