dufferton Posted May 6, 2014 Im trying to make a spawner for doom that will spawn a demon, every second. can i have a bit of code to help me with this? 0 Share this post Link to post
Kappes Buur Posted May 6, 2014 For G/ZDoom Perhaps something like this: #include "zcommon.acs" script 100 OPEN // SpawnSpot (str classname, int spottid [, int tid [, int angle]]) // 72:ThrustThing (angle, force, nolimit, tid) // 176:Thing_ChangeTID (oldtid, newtid) { delay (30); SpawnSpot ("Demon", 1, 10, 128); ThrustThing (Random (1, 180), 20, 1, 10); Thing_ChangeTID (10, 0); restart; } http://zdoom.org/wiki/SpawnSpot http://zdoom.org/wiki/ThrustThing http://zdoom.org/wiki/Thing_ChangeTID And an example pwad. 0 Share this post Link to post