Code: Select all
bool, Actor A_SpawnItemEx (class<Actor> missile [, double xofs [, double yofs [, double zofs [, double xvel [, double yvel [, double zvel [, double angle [, int flags [, int failchance [, int tid]]]]]]]]]]) Code: Select all
bool succ;
Actor spawned;
succ, spawned = A_SpawnItemEx("Shotgun");
So my question is, how do I get both return values from this function?