Editor GUI-UnitDamage modification can trigger events

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Editor GUI-UnitDamage modification can trigger events

Post by KnightHawk75 »

Editor GUI-UnitDamage modification now can trigger events.

So it's possible I just now noticed this new'ish addition (1147.3x?). Modifying a units damage from the gui while in the editor will trigger an associated damage-event-trigger as if the game is running for units who would qualifiy for an existing active event containing an applicable unitdamage-trigger. This can be nice for very simple-testing, this can also be not-nice-at-all when one forgets to first disable said event(s) before modification to a unit. If one forgets it could trigger a whole chain of undesired/unintended actions being executed.

My question is just was this an intentional change from the past? If so, so be it, just want to know if it's something to now always be very careful of or if it's not meant to act this way with the editor paused.

att: trigger-UnitDmgUnitDestroyed-postfire2.zip
Repo: Load scene, pause if not paused. Note the Red NSG-Buoy targeted by munitions. Switch to side Red. Select that buoy, select damage-ctrl, change damage percent from 50.8 to 51.8. The > 51.0 event trigger fires.

Version: 1147.36 + db3k491
Attachments
triggerUn..ostfire2.zip
(75.01 KiB) Downloaded 10 times
User avatar
michaelm75au
Posts: 12467
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Editor GUI-UnitDamage modification can trigger events

Post by michaelm75au »

I believe that has always been the case; it is based on the damage percent change on the unit, not the GUI. I don't think it has an exception to ignore the trigger when in SE mode.
Michael
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Editor GUI-UnitDamage modification can trigger events

Post by KnightHawk75 »

ORIGINAL: michaelm75au

I believe that has always been the case; it is based on the damage percent change on the unit, not the GUI. I don't think it has an exception to ignore the trigger when in SE mode.

If that's the case I can't believe this is the first time I've run across it triggering while editing, it's possible i guess, but the first time I came across it having worked a lot with dmg triggers. I'll take it as entirely intentional then though. [:)] Thanks for the answer!


jannas34
Posts: 74
Joined: Thu Jan 09, 2020 4:09 pm

RE: Editor GUI-UnitDamage modification can trigger events

Post by jannas34 »

another bug that wont get fixed
Post Reply

Return to “Tech Support”