King War
<table width="150"><tr><td><img src="http://forum.
- 23/7/10
- 2,136
- 341,697
+++++++++++++++++++++++++++++++Xin chi giao Tks
![]()
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.
+++++++++++++++++++++++++++++++Xin chi giao Tks
![]()
GameWar còn sót lại 2 câu chưa trả lời, ai rành chỉ giúp mình với. Thanks1/ Cho hỏi cách xài mấy cái Xe system trong Jass, cách turn on, turn off trigger trong Jass.
2/ Cho hỏi cách làm trigger Take Damage trong Jass vì trong GUI dạng trigger kiểu này cần 2 trigger nhưng trong Jass mỗi Spell, system,... chỉ dùng 1 trigger.
1 trong 3 cách:
1. Sử dụng Vexopt trước, nhưng Disable "Remove Editor-only Files" , kế đó là xài Wc3SLKOpt.
2. Sử dụng Wc3SLKOpt trước, nhưng Disable "Remove Editor-only Files" , kế đó xài VexOpt.
3. Sử dụng Widgetizer trước, rùi tiếp Vexopt

++++++++++++++++++++++++++++++++làm sao để tạo 1trigger quái play 1 giết đc mở trigger khác ( quái không có sẵn trên map xuất hiện trigger )
làm 1 cái gen khi hero play 1 bước vào sẽ đc nhận đồ

globals
unit UNITP=null
endglobals
scope TrigCreate_unit initializer IntCreate_unit
function Create_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(2), GetRectCenter(gg_rct_unit_create), bj_UNIT_FACING )
set UNITP = GetLastCreatedUnit()
endfunction
function IntCreate_unit takes nothing returns nothing
set Create = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( Create, 5.00 )
call TriggerAddAction( Create, function Create_Actions )
endfunction
endscope
scope TrigKillP1 initializer IntKill_unit1
function Kill_unit1_Conditions takes nothing returns boolean
if ( not ( UNITP == GetDyingUnit() ) ) then
return false
endif
if ( not ( GetOwningPlayer(GetKillingUnitBJ()) == Player(0) ) ) then
return false
endif
return true
endfunction
function Kill_unit1_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "nod..." )
endfunction
//===========================================================================
function IntKill_unit1 takes nothing returns nothing
set Kill_unit1 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( Kill_unit1, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( Kill_unit1, Condition( function Kill_unit1_Conditions ) )
call TriggerAddAction( Kill_unit1, function Kill_unit1_Actions )
endfunction
endscope
