geant_timide
Youtube Master Race
- 19/3/06
- 16
- 0
Chỉnh cho mặc định xây quân của nó cao lên ý , Orc tối đa xây 3 Taurent, bh mình muốn nó xây tăng lên 6 con chẳng hạn thì làm ntn ?
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.
Mọi ng` cho mình hỏi 2 cái trigger làm cùng Team trở thành kẻ thù, sau đó kẻ thù trở lại cùng Team
Trigger 1
ThunderClap
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Q Cluches Of Black Cat
Actions
Set Thunder_Caster[Thunder_MuiCount] = (Triggering unit)
Set Thunder_Point[1] = (Position of Thunder_Caster[Thunder_MuiCount])
Set Thunder_Group[Thunder_MuiCount] = (Units within 300.00 of Thunder_Point[1] matching (((((Matching unit) is A structure) Equal to False) and (((Matching unit) is alive) Equal to True)) and ((((Matching unit) belongs to an enemy of (Owner of Thunder_Caster[Thunder_MuiCount])) Equal to True) and
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 1) then do (Set Thunder_Damage[Thunder_MuiCount] = 3000.00) else do (Do nothing)
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 2) then do (Set Thunder_Damage[Thunder_MuiCount] = 6000.00) else do (Do nothing)
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 3) then do (Set Thunder_Damage[Thunder_MuiCount] = 10000.00) else do (Do nothing)
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 4) then do (Set Thunder_Damage[Thunder_MuiCount] = 14000.00) else do (Do nothing)
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 5) then do (Set Thunder_Damage[Thunder_MuiCount] = 18000.00) else do (Do nothing)
If ((Level of Thunder Clap for Thunder_Caster[Thunder_MuiCount]) Equal to 6) then do (Set Thunder_Damage[Thunder_MuiCount] = 24000.00) else do (Do nothing)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Thunder_MuiCount Equal to 0
Then - Actions
Countdown Timer - Start Thunder_Timer as a Repeating timer that will expire in 0.04 seconds
Else - Actions
Set Thunder_MuiCount = (Thunder_MuiCount + 1)
Trigger 2
ThunderClapLoo
Events
Time - Thunder_Timer expires
Conditions
Actions
For each (Integer A) from 0 to (Thunder_MuiCount - 1), do (Actions)
Loop - Actions
Unit Group - Pick every unit in Thunder_Group[(Integer A)] and do (Actions)
Loop - Actions
Set Thunder_Point[2] = (Position of (Picked unit))
Set Thunder_Angle[(Integer A)] = (Angle from Thunder_Point[1] to Thunder_Point[2])
Set Thunder_Point[3] = (Thunder_Point[2] offset by 40.00 towards Thunder_Angle[(Integer A)] degrees)
Set Thunder_Range[(Integer A)] = (Distance between Thunder_Point[1] and Thunder_Point[2])
Unit - Move (Picked unit) instantly to Thunder_Point[3]
Special Effect - Create a special effect at Thunder_Point[2] using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_Thunder_Point[2])
Custom script: call RemoveLocation (udg_Thunder_Point[3])
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Thunder_Range[(Integer A)] Greater than or equal to 500.00
Then - Actions
Unit Group - Remove all units from Thunder_Group[(Integer A)]
Set Thunder_MuiCount = (Thunder_MuiCount - 1)
Set Thunder_Range[(Integer A)] = Thunder_Range[Thunder_MuiCount]
Set Thunder_Angle[(Integer A)] = Thunder_Angle[Thunder_MuiCount]
Set Thunder_Caster[(Integer A)] = Thunder_Caster[Thunder_MuiCount]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Thunder_MuiCount Equal to 0
Then - Actions
Countdown Timer - Pause Thunder_Timer
Custom script: exitwhen true
Else - Actions
Else - Actions
[COLOR="#FF0000"] Wait 3.00 seconds
Unit Group - Pick every unit in Thunder_Group[(Integer A)] and do (Actions)
Loop - Actions
Unit Group - Remove (Picked unit) from Thunder_Group[(Integer A)][/COLOR]


cám ơnCho mình hỏi cách làm trigger kiểm tra tốc độ di chuyển ghi gõ lệnh (-ms chẳng hạn)![]()
Events
Player - Player 1 (Red) types a chat message containing -ms as An exact match
Actions
Set MSGroup = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))
Unit Group - Pick every unit in MSGroup and do (Actions)
Loop - Actions
Player Group - Add (Triggering player) to TextForPlayer[(Player number of (Triggering player))]
Game - Display to TextForPlayer[(Player number of (Triggering player))] the text: (Movement speed of + ((Proper name of (Picked unit)) + ( is + (String((Integer((Current movement speed of (Picked unit)))))))))
Custom script: call DestroyGroup(udg_MSGroup)
Mọi người cho hỏi cách ẩn/hiện unit trên minimap bằng spell giống như smoke of deceit trong dota làm thế nào vậy??
ai chỉ em làm sao để xài nhiều loại terrain được không , hôm qua có xem qua cái map gì đấy bên topic terrain anh gửi thấy nó xài nhiều terrain thế mà không biết làm thế nào
Hình như bạn nhầm, map KT chỉ sửa attack_type. Atribute vẫn giữ nguyên Streng = Sức mạnh, Agi = Thân pháp, Intel = Trí tuệ(Hình như sai)Cho hỏi, ở map kiếm thế streng, agi, intel thành kim, mộc, thủy, hỏa, thổ, vậy làm sao thêm được 2 thằng vô nữa vd: streng có thể là kim, agi có thể là mộc, intel là thủy, vậy hỏa và thổ là cái gì?


