Since the introduction of CheckReplacement, this is not counted for with ACS's Spawn(Spot) functions in particular, resulting in some rather humorous mass spawning of all one single type when it's not a RandomSpawner.
My mod in particular uses a complex advancement system where monsters of greater difficulty tiers spawn in based on item progression so CheckReplacement in an event handler is a must.
ACS Spawn function issue
Moderator: GZDoom Developers
Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
-
-
- Posts: 3797
- Joined: Sun Aug 07, 2011 4:32 am
Re: ACS Spawn function issue
DLevelScript::DoSpawn() calls PClassActor::GetReplacement() function which in turn calls EventManager::CheckReplacement().
Do you have a sample to test this on?
Do you have a sample to test this on?