RandomSpawner Expansion

Like feature suggestions, but you've actually written code to make it happen. More likely to make it into the game than some random request in feature suggestions.

Moderator: GZDoom Developers

Forum rules
Please see Code submission guidelines

GZDoom Status:

Legacy Status:
Image Image

QZDoom Status:

RandomSpawner Expansion

Postby Major Cooke » Mon Aug 17, 2020 10:51 am

Pull Request

If given the BOSS(DEATH) flags, RandomSpawners will remain as if the spawned had those flags. Useful for allowing collection of the spawned actor, since PostSpawn() requires knowing what actors want the information.

GetSpawn() retrieves the Chosen name and Spawned actor, since they're both protected in the event the Tracer pointer is changed.

Also, giving a randomspawner the BOSS flag will transfer that flag to any subsequent randomspawners spawned by it, but not BOSSDEATH.
User avatar
Major Cooke
QZDoom Maintenance Team
Joined: 28 Jan 2007

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 1 guest