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.
lý do là trigger lập quá nhanh chỉ 0.01 và sau đó tạo unit liên tục trigger dài= lag
fix lại time 0.02 hoặc 0.03 thôithử xem có thể giảm tý lag
![]()
Thx bác 
Cho hỏi mấy cái method, static method dùng thế nào ??

Cho mình hỏi làm thế nào để add tiếng của mấy thằng Marine trong Starcraft vào Warcraft vậy? Tìm mãi trên google không ra, ở web nước ngoài bảo làm được nhưng lại không chỉ cách.


ngay phần này chỉ thấy khi đang bật UMSWE
![]()



ai cho tớ hỏi với
mua cuc GEM trong dota nó show 1 effect tên là Magic Sentry nó chỉ cho team alles của người sở hữu item thấy nếu là team 2 thì không thấy gì hết
việc này làm như thế nào![]()
If (Local player) is an ally of (Hero Manipulating Item) equal to True then
Tạo effect!
elseif
endif



[B]Events[/B]
Time- Elapsed game time is 0 seconds
[B]Conditions[/B]
none
[B]Actions[/B]
Countdown Timer- Start Timer[1] as a One-shot timer that will expire in 2700.00seconds
Countdown Timer- Create a timer window for Timer[1] with tile Time
Set TimerWindow[1]=(last created timer window)
Trigger- Turn on [I]Khi Timer xuong 0[/I]
[B]Events[/B]
Time-Timer[1]expires
[B]Conditions[/B]
none
[B]Actions[/B]
Countdown Timer-Pause Timer[1]
Countdown Timer-Destroy TimerWindows[1]
Trigger-Turn on [COLOR="#FF0000"][I]Tao boss[/I][/COLOR] <gen>
Mã:If (Local player) is an ally of (Hero Manipulating Item) equal to True then Tạo effect! elseif endif
Tham khảo nhé!
Hỏi tí nữa, effect đó tạo là còn mãi hay tạo là mất ngay?![]()

local string s = ""
local unit u = GetManipulatingUnit()
if IsPlayerAlly( GetLocalPlayer() , GetOwningPlayer(u)) then
set s = "Abilities\\Spells\\Human\\MagicSentry\\MagicSentryCaster.mdx"
endif
call AddSpecialEffectTarget( s, u, "overhead" ) // tạo effect
Set TempUnit = (Hero manipulating item)
Set TempString = <Empty String>
Custom script: if IsPlayerAlly( GetLocalPlayer(), GetOwningPlayer( udg_TempUnit )) then
Set TempString = Abilities\Spells\Human\MagicSentry\MagicSentryCaster.mdx
Custom script: endif
Special Effect - Create a special effect attached to the overhead of TempUnit using TempString