Hello,
With the "Check Unit(s) Strength" trigger, what are the values related to?
Amount =<> (number value) - How do the values work?
Thank you,
Earle
Check unit strength
Moderators: Order of Battle Moderators, The Artistocrats
-
bru888
- Order of Battle Moderator

- Posts: 6214
- Joined: Sun Jan 10, 2016 5:39 pm
- Location: United States
Re: Check unit strength
I got it to work in the attached test scenario. Basically, the trigger asks whether the unit's strength number is at, above, or below a certain number such as the default 10. In this test scenario, I made the Japanese unit retreat (using an AI Team and a Setup AI Team effect) once it had taken any damage from the two U.S. units.earlecook wrote:Hello,
With the "Check Unit(s) Strength" trigger, what are the values related to?
Amount =<> (number value) - How do the values work?
Thank you,
Earle
My questions would still be about how this Check Unit(s) Strength trigger works for AI Teams (do you set the amount for the cumulative total strength, e.g., 10 units x 10 strength = set it for < 100 if you want the team to retreat when any team member takes damage or do you leave it at <10 referring to any and all?), how the Difficulty Bonus Compensation option figures in, and what the Unit Definition setting would be used for in this context. See boxed area:
EDIT: Upon further thought, my theory about the Difficulty Bonus Compensation is that it adjusts the strength amount for the scenario difficulty setting. 10 is the default unit strength in the Scenario Editor. If you play the scenario on the middle difficulty setting, enemy unit strength remains at 10. However, lower difficulties reduce this amount to 6 and 8 and higher difficulties set enemy strengths at 12 and 14, I believe. This Difficulty Bonus Compensation checkbox, if clicked, will adjust the strength amount set in this trigger by an amount proportional to the difficulty setting when this trigger is used in the scenario.
- Attachments
-
Test_Check_Unit_Strength_Trigger.zip- (2.15 KiB) Downloaded 109 times
- Bru
-
earlecook
- Senior Corporal - Ju 87G

- Posts: 93
- Joined: Sat Jan 16, 2016 2:46 am
- Location: Cordova, Alaska
- Contact:
Re: Check unit strength
Thank you.
I was thinking of the AI setting and whether it was cumulative, glad you thought of it, since I was not clear.
Thanks,
Earle
I was thinking of the AI setting and whether it was cumulative, glad you thought of it, since I was not clear.
Thanks,
Earle
-
bru888
- Order of Battle Moderator

- Posts: 6214
- Joined: Sun Jan 10, 2016 5:39 pm
- Location: United States
Re: Check unit strength
I believe I have answers for two of those three questions. If ANY unit in the AI Team falls below the indicated strength level, the trigger activates. As an example, attack and damage just one Japanese unit in this revised test scenario, and both of them (AI Team 1) will begin exiting the map.bru888 wrote:My questions would still be about how this Check Unit(s) Strength trigger works for AI Teams (do you set the amount for the cumulative total strength, e.g., 10 units x 10 strength = set it for < 100 if you want the team to retreat when any team member takes damage or do you leave it at <10 referring to any and all?), how the Difficulty Bonus Compensation option figures in, and what the Unit Definition setting would be used for in this context.
The Unit Definition setting is for when it's not an individual unit or an AI Team are being evaluated, but a Unit Type, Class, or Category.
This is the question that I am still stumped on:
Is that correct?bru888 wrote:EDIT: Upon further thought, my theory about the Difficulty Bonus Compensation is that it adjusts the strength amount for the scenario difficulty setting. 10 is the default unit strength in the Scenario Editor. If you play the scenario on the middle difficulty setting, enemy unit strength remains at 10. However, lower difficulties reduce this amount to 6 and 8 and higher difficulties set enemy strengths at 12 and 14, I believe. This Difficulty Bonus Compensation checkbox, if clicked, will adjust the strength amount set in this trigger by an amount proportional to the difficulty setting when this trigger is used in the scenario.
- Bru