Mon Feb 21, 2022 12:43 pm
TNT1 A 0 NoDelay A_SpawnItemEx("WeaponPickupFlare", 4, 0, 20, 0, 0, 0, 0, SXF_SETMASTER)
TNT1 A 0 A_RemoveChildren(True, RMVF_EVERYTHING)
Mon Feb 21, 2022 2:50 pm
Mon Feb 21, 2022 3:18 pm
DTPW AAAAAAA 2 BRIGHT Light("WPNFLARE")
{
if (A_CheckProximity("StopExisting", "ShufflePlayer", 30))
{
A_SetScale(scalex - 0.005, scaley - 0.005);
A_SpawnItemEx("WhiteLine", frandom(-28, 28), frandom(-21, 21), frandom(0, 7), 0, 0, random(2, 3), 0, 0, 60);
}
else {
return A_Jump(256, "StopExisting"); //Using a direct return does not work also
}
}
Loop
DTPW AAAAAAA 2 BRIGHT Light("WPNFLARE")
{
if (A_CheckProximity("StopExisting", "ShufflePlayer", 30))
{
A_Jump(256, "StopExisting");
A_SpawnItemEx("BFGBall"); //This works, yet the one above it does not?
}
else {
A_SetScale(scalex + 0.005, scaley + 0.005);
A_SpawnItemEx("WhiteLine", frandom(-28, 28), frandom(-21, 21), frandom(0, 7), 0, 0, random(2, 3), 0, 0, 60);
}
} //After this action frame there is another one where the glow gets smaller, just as a note
Mon Feb 21, 2022 3:45 pm
{
if (A_CheckProximity("StopExisting", "ShufflePlayer", 30))
{
A_SpawnItemEx("BFGBall");
Return state("StopExisting");
}
else {
A_SetScale(scalex + 0.005, scaley + 0.005);
A_SpawnItemEx("WhiteLine", frandom(-28, 28), frandom(-21, 21), frandom(0, 7), 0, 0, random(2, 3), 0, 0, 60);
Return state("");
}
} //After this action frame there is another one where the glow gets smaller, just as a note
Mon Feb 21, 2022 4:21 pm
A_SpawnItemEx("BFGBall");