0 Members and 1 Guest are viewing this topic.
Ready:FLSB T 0 ACS_ExecuteAlways(998,0,86)FLSB T 0 A_SetUserVar("user_var",0)FLSB T 1 A_WeaponReadyGoto Ready+2Fire:FLSB T 0 A_JumpIfNoAmmo("NoAmmo")FLSB T 0 A_PlaySoundEx("misc/fakeshot","Weapon")FLSB T 0 A_FireCustomMissile("BassShot",0,1,8,0)FLSB T 0 A_FireCustomMissile("BassShot",10+ACS_ExecuteWithResult(112)*2,0,8,0)FLSB T 0 A_FireCustomMissile("BassShot",-(10+ACS_ExecuteWithResult(112)*2),0,8,0)FLSB UV 2FLSB T 0 A_JumpIf(user_var>=14,"EndFire")FLSB T 0 A_SetUserVar("user_var",ACS_ExecuteWithResult(112)+1)FLSB T 0 A_RefireGoto Ready+1EndFire:FLSB UV 6FLSB T 20Goto Ready+1<Meanwhile, in ACS...>script 112 (void){SetResultValue(GetUserVariable(0,user_var));}
For now though, for something as simple as this, you could use Args and A_SetArg.