Thứ nhất: Làm sao để nhà, unit, là thuộc của team chứ không phải của từng cá nhân trong team. Như Dota chẳng hạn

Thứ 2: Tại 1 khu vực cứ 60s sẽ tạo ra random 1 nhóm unit. Nếu có unit rồi thì triger không hoat động
Thứ 3 là: Mua hero ra ỏ mấy cái nhà như trong Dota.
Pro nào biết xin chỉ giáo nhiệt tình giúp với.
Rất cảm ơn các bác
Tóm lại ý của 2 người này như sau
1. Muốn làm cái này thì bạn phải chừa ra 2 player ko dùng
Có 2 cách để làm :
c1: Vào Scenario --> Player proper --> đổi controller của 2 player đo thành computer --> set team cho nó trong Force
c2: Dùng trigger để set team cho 2 player đó :
[spoil]
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
[/spoil]
p/s Nên dùng cách 2 vì cách này khoa học hơn ( cái dota dùng đấy )
2. 2 trigger demo :
[spoil]
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Greater than or equal to 60
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Group) Equal to 0
Then - Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
Unit Group - Add (Last created unit) to Group
Set Time = 0
Else - Actions
Else - Actions
Set Time = (Time + 1)
[/spoil]
và
[spoil]
Untitled Trigger 002
Events
Unit - A unit Dies
Conditions
((Triggering unit) is in Group) Equal to True
Actions
Unit Group - Remove (Triggering unit) from Group
[/spoil]
3. Cách đơn giản đây :
Unit - Move (Sold unit) instantly to (Center of (Playable map area))