trigger fixes; strike waypoint fixes; m2k strike payload update

This commit is contained in:
Vasyl Horbachenko
2018-10-13 02:36:25 +03:00
parent 3f8b5c6c00
commit 4fc766a524
6 changed files with 10 additions and 9 deletions

View File

@@ -112,10 +112,10 @@ class TriggersGenerator:
for unit in group.units:
push_trigger.add_condition(UnitAltitudeHigherAGL(unit.id, PUSH_TRIGGER_ACTIVATION_AGL))
if group.units[0].is_human():
if not group.units[0].is_human():
push_trigger.add_action(AITaskPush(group.id, 1))
message_string = self.mission.string("Task force is in the air, proceed with the objective (activate waypoint 3).")
message_string = self.mission.string("Task force is in the air, proceed with the objective.")
push_trigger.add_action(MessageToAll(message_string, clearview=True))
push_trigger.add_action(SetFlagValue())