cái Icon minimap vốn sẵn dota nó đã được hide rồi.
để làm được như dota thì mình tạo 1 trigger set
Neutral Building - Change the special minimap icon to UI\Minimap\minimap-hero.blp
, sau đó sử dụng
Neutral Building - Turn special minimap icon On for (Triggering unit) turn on icon hero minimap cho hero khi chọn. mình muốn nó ẩn icon thì set
Mã:
Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Local player) Equal to (Picked player) [COLOR="#006400"]// sử dụng egui mới có[/COLOR]
Then - Actions
Neutral Building - Turn special minimap icon [B]Off[/B] for (Triggering unit)
Else - Actions