The_Gnat wrote:Hello once again! I have created a new mod (the HP mod) for 1.13. It uses a
unit placedevent to modify all units hitpoints. However, i have noticed that it does not modify the randomly placed units in the units in the scenario 'dark forecast'.
In the wiki it says this
unit placedevent should work for even lua generated units, so what do you think the problem is?
Just like in [unstore_unit] the lua functions to put units to the map has a parameter to specify whether that evene should be fired that defaults to false. (remember that [unstore_unit] is implemented in lua too) so it's quite likeley that the 2p dark forecasst code doesn't fire that event.