So, my script, which is fired by a switch, looks like this:
#include "zcommon.acs"
script 1 (VOID)
{
Print(s:"Greedy! Hope you grabbed the shotgun!");
Floor_LowerToNearest(1,8);
Thing_Spawn(3,"Demon",315,0);
Thing_spawn(2,"HellKnight",315,0);
}
And is supposed to spawn 1 hellknight and 3 demons, at the angle 315. Instead, it spawns 1 chaingunner in place of the hellknight, and Shotgunguys instead of demons, and both are facing at the opposite angle to the way they are supposed to. What the hell is happening? I've only tested in GZDoom 3.2.4.
EDIT: Duur hurr i'm an idiot who forgot how classes are handled
So, my script, which is fired by a switch, looks like this:
#include "zcommon.acs" script 1 (VOID) { Print(s:"Greedy! Hope you grabbed the shotgun!"); Floor_LowerToNearest(1,8); Thing_Spawn(3,"Demon",315,0); Thing_spawn(2,"HellKnight",315,0); }
And is supposed to spawn 1 hellknight and 3 demons, at the angle 315. Instead, it spawns 1 chaingunner in place of the hellknight, and Shotgunguys instead of demons, and both are facing at the opposite angle to the way they are supposed to. What the hell is happening? I've only tested in GZDoom 3.2.4.
EDIT: Duur hurr i'm an idiot who forgot how classes are handled
Edited by THMGShare this post
Link to post