ACS Spawn function issue

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!

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: ACS Spawn function issue

Re: ACS Spawn function issue

by _mental_ » Sun Jun 07, 2020 3:25 am

DLevelScript::DoSpawn() calls PClassActor::GetReplacement() function which in turn calls EventManager::CheckReplacement().
Do you have a sample to test this on?

ACS Spawn function issue

by Major Cooke » Thu Apr 02, 2020 11:28 pm

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.

Top