Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Bạn có thể giải thích hộ mình cái này được không :(Uhm.. cái của mình đưa thì dành cho các Structure có mặt ở maps ngay từ đầu (nghĩa là maps này không chơi xây thêm).. còn cái này áp dụng được cho trường hợp xây thêm luôn... còn có cả hiển thị số nữa.. dùng cái này không vấn đề gì.. xài tốt :)

[/spoil]Bạn có thể giải thích hộ mình cái này được không :(
[spoil] Trigger Gold: Events
Conditions
(Unit type of (Triggering unit)) is a building) == True ->> Đoạn này làm thế nào để có vậy bạn :( is a building) == True
(Triggering unit) belongs to an enemy of (Owner of (Damage Source)) == True -->> Cả câu mình khổng tìm thấy lun
Actions
Set Damage = (Damage taken)
Player - Add (Integer(Damage)) to (Owner of (Triggering Unit) Current gold
Floating Text - Create floating text that reads (String(Integer(Damage))) above (Triggering Unit) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 20.00% transparency ---> Mấy câu này cũng khó nốt[/spoil]
Hoặc bạn làm cho mình 1 cái map có trigger đấy với :( Để xem làm ntn mà ra được mấy phần đó :(
xin hỏi cách check như thế nào để biết Unit đang cast Spell..
thấy trong GUI có cái lệnh Issue order == "String nào đó" mà không biết phải cái này không ..
ai đã từng dùng tới chia sẻ với mình với.


@mvcthinh: xin hỏi cách check như thế nào để biết Unit đang cast Spell...
GUI ko có lệnh nào kiểm tra như thế. Muốn biết nó đang cast thì làm 2 trigger với 3 event là
Event 1:
Generic Unit Begins casting a ability
Thì add unit đó vào 1 group ví dụ là CastingGroupEvent 2:
Generic Unit Stops casting a ability
Generic Unit Finishs casting a ability
Remove Unit đó khỏi CastingGroup
Muốn check unit đó đang cast thì kiểm tra unit có ở trong CastingGroup ko? là biết
TOM: event 2 là "stops casting" là được rồi, finish làm gì nữa? stop còn sau cả finish![]()
.Attack
Events
Time - Every (Random real number between 1.00 and 5.00) seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players matching (((Matching player) controller) Equal to Computer)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Percentage life of HERO[(Player number of (Picked player))]) Less than 30.00
Then - Actions
Set PointAttack = ((Picked player) start location)
Unit - Order HERO[(Player number of (Picked player))] to Move To PointAttack
Custom script: call RemoveLocation(udg_PointAttack)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Percentage life of HERO[(Player number of (Picked player))]) Less than 7.00
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(starfall))
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(voodoo))
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(flamestrike))
Then - Actions
Set PointAttack = ((Picked player) start location)
Unit - Order HERO[(Player number of (Picked player))] to Patrol To PointAttack
Custom script: call RemoveLocation(udg_PointAttack)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(starfall))
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(voodoo))
(Current order of HERO[(Player number of (Picked player))]) Not equal to (Order(flamestrike))
Then - Actions
Set TempForce = (All enemies of (Picked player))
Set Player = (Random player from TempForce)
Set PointAttack = (Player start location)
Unit - Order HERO[(Player number of (Picked player))] to Patrol To PointAttack
Custom script: call RemoveLocation(udg_PointAttack)
Custom script: call DestroyForce( udg_TempForce )
Else - Actions

Bạn có thể đưa luôn cho mình cái map đó có 3 trigger được không :( Mình tìm loạn óc vẫn không ramấy cái Condition này ở ngay đầu luôn đấy..
Chọn conditions
-> Boolean Comparison ok.
Xong sẽ thấy.
Click vào trong đó cũng sẽ thấy nhiều điều kiện khác.
Floating Text - Create floating text that reads (String(Integ... mấy cái này thì tìm trong Action - Floating Text
---------- Post added at 18:32 ---------- Previous post was at 17:48 ----------



Ai zúp mình với ^ nói kỉ hơn nữa... Khi spam creep mình muốn sight creep thấy zì thì tất cả các hero cũg đều có thể thấy sight của creep...túm lại creep bị dính spell của Item Wand of Shadowsight. Zúp mình với Thanks nhìu :(Zúp mình với :(. làm sao để 1 em unit thấy zì thì tất cả các player cũg có sight thấy như vậy ? Thanks nhìu >.<
Ai có thể vui lòng làm mẫu giúp mình một trigger để thay dame cơ bản của các Spell trong Object thành dame chỉ số nhân 2,3,4 chẳng hạn (ví dụ đổi dame của Chain Lighting thành chỉ số thân pháp x5) ,cũng như một số Skill dạng buff (buff máu,buff giáp).
Cám ơn
Và ai biết cách làm sao để cho hero mang trên người Skill Spell Book khi đến level là tự động thêm Spell thì chỉ mình với.
Ai Giúp Mình Với :(Bạn có thể đưa luôn cho mình cái map đó có 3 trigger được không :( Mình tìm loạn óc vẫn không ra
Tks Bạn Trước :)