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.
Có ai chỉ mình cách làm reset một ability mình chọn (= GUI nhá)
P/s: Rongdo onl Y!M mà để invi hay sao ko thấy ???

Cho mình hỏi : mình muốn làm một skill như sau,hero bắn ra 1 tia lazer đến kẻ địch,mình muốn hỏi làm cách nào để khi tia lazer lướt đi trên mặt đất thì gây ra các hiệu ứng nổ cháy trên đường nó đi wa ?
Tornado Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Tornado 2
Actions
Set Tornado_Caster = (Triggering unit)
Set Tornado_Level = (Level of Tornado 2 for Tornado_Caster)
Set TempLocTor = (Position of Tornado_Caster)
Set TempLoc2Tor = (Target point of ability being cast)
Set Tornado_Angle = (Angle from TempLocTor to TempLoc2Tor)
Set Tornado_Distance = (80 x (Level of Tornado 2 for Tornado_Caster))
Unit Group - Remove all units from Tornado_Hit
Unit - Create 1 Tornado for (Owner of Tornado_Caster) at TempLocTor facing Tornado_Angle degrees
Set Tornado = (Last created unit)
Custom script: call RemoveLocation( udg_TempLocTor )
Custom script: call RemoveLocation( udg_TempLoc2Tor )
Trigger - Turn on Tornado Cyclone <gen>
Tornado Cyclone
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set TempLocTor = (Position of Tornado)
Set TempLoc2Tor = (TempLocTor offset by 10.00 towards Tornado_Angle degrees)
Unit - Move Tornado instantly to TempLoc2Tor
Set TorTempGroup = (Units within 225.00 of TempLoc2Tor matching ((((Matching unit) is A structure) Equal to False) and (((((Matching unit) is alive) Equal to True) and (((Matching unit) is Magic Immune) Equal to False)) and ((((Matching unit) belongs to an enemy of (Owner of To
Unit Group - Pick every unit in TorTempGroup and do (Actions)
Loop - Actions
Unit - Create 1 Dummy Unit for (Owner of Tornado_Caster) at (Position of (Picked unit)) facing 0.00 degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Add Impale to (Last created unit)
Unit - Set level of Impale for (Last created unit) to (Level of Tornado 2 for Tornado_Caster)
Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of (Picked unit))
Unit Group - Add (Picked unit) to Tornado_Hit
Custom script: call RemoveLocation( udg_TempLocTor )
Custom script: call RemoveLocation( udg_TempLoc2Tor )
Custom script: call DestroyGroup( udg_TorTempGroup )
Set Tornado_Distance = (Tornado_Distance - 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Tornado_Distance Equal to 0
Then - Actions
Unit - Kill Tornado
Trigger - Turn off (This trigger)
Else - Actions
@rong
cái jasscode bạn đưa thật là tốm chất xám(khó hiểu)
---------- Post added at 14:19 ---------- Previous post was at 13:45 ----------
ai biết làm cách vận chuyện đồ như vậy không
( ví dụ)
chicken là unit có skils tên là transfer đi
skils transfer sẻ được thụ mã như sau
Mã:Transfer Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Transfer Actions Unit Group - Pick every unit in (Units within 999999.00 of (Position of (Triggering unit)) matching (((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))) and (((Matching unit) is A Hero) Equal to True))) and do (Actions) Loop - Actions Unit - Order (Triggering unit) to Follow (Picked unit) rùi cho kon chicken chạy tới xong chổ của hero của nó thì , từ kon chicken có bao nhiêu item sẻ chuyển cho hero sau nó là chicken phải tự chạy về region tên là Sentinel
như vậy
mình làm xong cái tự chạy tới hero rồi
mà cách chuyển item phải ở gần hero chuyển item thì cách này hok hiểu lắm
ai biết vui long giúp với thanks nhiều![]()


Các bác cho em hỏi làm sao để sức mạnh càng nhiều thì spell càng mạnh
Ví dụ như Flame Strike của Blood Mage khi strength cang cao thì damg càng mạnh chẳng hạn
---------- Post added at 16:35 ---------- Previous post was at 16:23 ----------
tiện thể cho hỏi cách chỉnh lại exp nhận đc sau khi đánh chết một unit như thế nào với ag
YAN[asian];15752173 nói:Có phải spell MUI đơn giản là set (integer) MUI = MUI + 1, sau đó gán MUI cho các biến khác (unit, point,...) là đc phải ko?
MUI = 5
Index: 1 2 3 4 5
Instance: 1 2 3 4 5
MUI = 4
Index: 1 2 3 4
Instance: 2 3 4 5
MUI = 4
Index: 1 2 3 4
Instance: 5 2 3 4
khi map đang tạo giữa chừng có thể tăng diện tích map đc không vậy
Stork[gm];15752534 nói:thì bạn deal Damage gốc của spell đó nhân với str của con cast thì càng to càng mạnh (hoặc + damage với str cũng đc)
[/COLOR]cho hỏi cách chỉnh lại exp nhận đc sau khi đánh chết một unit như thế nào với ag
Top Creeps 2
Events
Time - Every 22.00 seconds of game time
Conditions
Actions
Wait 5.00 seconds
Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>))
Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>))
Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>))
Unit - Create 1 Warlock Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>))
thế thì đâu có rộng được bao nhiêu đâu
cho hỏi
khi mình tạo như vậy
Mã:Top Creeps 2 Events Time - Every 22.00 seconds of game time Conditions Actions Wait 5.00 seconds Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>)) Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>)) Unit - Create 1 Imp Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>)) Unit - Create 1 Warlock Lv2 for Player 7 (Green) at (Center of B Top <gen>) facing 270.00 degrees Unit Group - Pick every unit in (Units in B Top <gen> matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Order (Picked unit) to Attack-Move To (Center of Top Helper 2 <gen>))
mà nó tới khu vực chỉ định
nhân có khi nó đang đi nó = ( creeps) mà bị máy kon hero AI hay là người chơi chơi skils ví dụ là unit pause hay Stun đi thì máy kon creeps này sẻ đừng lại
nhân trong dota unit đi hơi khó nó phân ra gần 3 region khác nhau
vậy làm cách nào
cho máy con creeps phải đi theo region khi bị stun hay bị chơi skils unit pause vẫn đi típ theo mục tiêu regions ấy ?
Init Hashtable
Events
Map initialization
Conditions
Actions
Hashtable - Create a hashtable
Set Hash = (Last created hashtable)
Save Creep Target
Events
Conditions
Actions
Set TempUnit = <unit của bạn>
Set Temp_Point = (Center of <region của bạn>)
Hashtable - Save (X of Temp_Point) as (Key TargetX) of (Key CreepTargetLoc) in Hash
Hashtable - Save (Y of Temp_Point) as (Key TargetY) of (Key CreepTargetLoc) in Hash
Unit - Order TempUnit to Move To Temp_Point
Custom script: call RemoveLocation(udg_Temp_Point)
ReOrder Creep
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching (((((Matching unit) is alive) Equal to True) and ((String((Current order of (Matching unit)))) Equal to <Empty String>)) and ((Unit-type of (Matching unit)) Equal to Footman))) and do (Actions)
Loop - Actions
Set Temp_Point = (Point((Load (Key TargetX) of (Key CreepTargetLoc) from Hash), (Load (Key TargetY) of (Key CreepTargetLoc) from Hash)))
Unit - Order (Picked unit) to Move To Temp_Point
Custom script: call RemoveLocation(udg_Temp_Point)
Cho em hỏi làm sao đễ máp của mình load nhanh hơn. Như map dota >6mb mà chưa tới 15s đã load xong, còn map em làm chỉ khoảng 2mb mà mất hơn 30s mới load xong là sao???