When I use the conventional decorate way, using "A_SetScale(scaleX*0.94);" returns error that scaleX is deprecated (while it works with scaleX, I want to get rid of the error message). When I want to use xscale, gzdoom return error that 'xscale' is unknown identifier. So, what am I doing wrong?
The actor is this:
Code: Select all
class BlasterParticle : actor
{
Default
{
+DOOMBOUNCE;
+MISSILE;
+CLIENTSIDEONLY;
+NOTELEPORT;
+NOBLOCKMAP;
+CORPSE;
+BLOODLESSIMPACT;
+FORCEXYBILLBOARD;
+NODAMAGETHRUST;
+MOVEWITHSECTOR;
+NOBLOCKMONST;
-SOLID;
+THRUACTORS;
+DONTSPLASH;
-NOGRAVITY;
+DONTBLAST;
Scale 0.026;
Gravity 0.02;
Radius 0;
Height 0;
Damage 0;
Renderstyle "Add";
Alpha 0.95;
Speed 0;
}
States
{
Spawn:
SPKB AAAAAAAA 1 Bright A_SetScale(scalex*0.94);
Stop;
}
}