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.

Giờ mình muốn làm 1 cái trigger, khi mà computer do player 2 control, máu còn 10% thì chạy về Region RCenter thì phải làm sao ?
if ( not ( IsUnitType(GetAttackedUnitBJ(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Melee_Initialization_Func001C takes nothing returns boolean
if ( not ( GetUnitStateSwap(UNIT_STATE_LIFE, GetAttackedUnitBJ()) <= 10.00 ) ) then
return false
endif
return true
endfunction
function Trig_Melee_Initialization_Actions takes nothing returns nothing
if ( Trig_Melee_Initialization_Func001C() ) then
call IssuePointOrderLocBJ( GetAttackedUnitBJ(), "move", GetRectCenter(gg_rct_Come_Back) )
else
call DoNothing( )
endif
Melee Initialization
Events
Unit - A unit Is attacked // kể bị tấn công
Conditions
((Attacked unit) is A Hero) Equal to True // check lệnh yêu cầu là hero
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 10.00 //10.00 = 10%
Then - Actions
Unit - Order (Attacked unit) to Move To (Center of Come Back <gen>) //Come Back <gen> = chỗ cần về
Else - Actions
Custom script: call DoNothing( ) // không làm gì =)) do converter bị lỗi nó = script luôn :D

ai chỉ cho tui cái này với, hỏi mãi rồi ?tui import file .tga rồi chuyển thành war3mapPreview.tga mà lúc vào war nhìn vào phần minimap trắng xóa là sao vậy
ai chỉ cho tui cái này với, hỏi mãi rồi ?

mấy bồ cho tớ hỏi làm sao để chuyển dạng đánh bình thường của mấy con tay dài ( ví dụ như từ chưởng ra lửa mà thành chưởng ra sấm sét chẳng hạn ), cái đó là mục nào của units thế , giúp tớ với, thank nhìu
ai trả lời dùm câu cuả tui ih :(
ai chỉ cho tui cái này với, hỏi mãi rồi ?