tạo 2 region, 1 region là nơi lính xuất hiện và MoveAttack đến region thứ 2 thôi
Còn cái kia thì đây
- Code:
Trigger
Events
Every 60 seconds of game time/Every 60 seconds
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((AreaXUnit1) Is Dead) Equal to True
((AreaXUnit2) Is Dead) Equal to True
((AreaXUnit3) Is Dead) Equal to True
Then - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer A) Less than or equal to 4
Then - Actions
Unit - Create # GroupA for Neutral Hostileat (Area X) facing Default building facing degrees
Else - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer A) Less than or equal to 8
(Integer A) More than or equal to 5
Then - Actions
Unit - Create # GroupB for Neutral Hostile at (AreaX) facing Default building facing degrees
Else - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer A) More than or Equal to 9
Then - Actions
Unit - Create 1 GroupC for Neutral Hostile at (AreaX) facing Default building facing degrees
Else - Actions
Else - Actions
Không có world editor nên không demo được