RandomSpawner Expansion

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8205
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town

RandomSpawner Expansion

Post by Major Cooke »

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
Posts: 8205
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town

Re: RandomSpawner Expansion

Post by Major Cooke »

I hadn't realized that I could get the dropitems list with defaults to avoid spawning randomspawners themselves. Interesting.

Guess I don't need this anymore.

Return to “Closed Feature Suggestions [GZDoom]”