- 7/2/04
- 5,763
- 8,509
Người Việt sao phải dùng tiếng Anh nhỉ? ??
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.
Anh luci có cách nào lấy damage của hero rồi sử dụng vào trigger của GUI đc không?? 1 dạng sytem damage ấy. Thanks

Xin hỏi : nếu mình muốn chế độ cứ 30s thì remove item trên bản đồ 1 lần . Nếu mình đánh quái rớt item hay là minh vức item vào giây thứ 29 thì nó xoá lâp tức. Vây có cách nào fix thời gian rem0ve cho từng item k ?
Cac' anh chị ơi. Trong Dota OMG có hệ thống pick skill nhiều lvl. Mà khi mình pick xong thì mình phải dùng point nâng skill lên mới sử dụng được. Ai chỉ giùm em cách làm kiểu pick skill như thế với. Và cho em hỏi thêm hệ thống Stack skill và vũ khí, Stack vũ khí thì giống dota. khi mà mình có 1 món đồ mà có thêm 1 món đồ khác mà bị stack thì sẽ có 1 số Efect bị mất đi. Còn Stack skill là khi mình đã chọn 1 skill này thì mình sẽ không chọn được skill kia nữa.
xin hỏi có cách nào dán thơi gian remove lên từng item dc hay k:(
Event item drop ra đất chẳng hạn,hoặc event create item dưới đất,chạy 1 cái timer,kết thúc timer nếu item đó ko thuộc sở hữu của ai thì remove,đc ko?

Dashing Stab
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Dashing Stab
Actions
Set Dashing_Stab_move = 0
Set Dashing_Stab_caster = (Casting unit)
Set Dashing_Stab_loc = (Position of Dashing_Stab_caster)
Set Dashing_Stab_loop = ((Integer((Distance between Dashing_Stab_loc and (Target point of ability being cast)))) / 30)
Unit - Turn collision for Dashing_Stab_caster Off
Unit - Pause Dashing_Stab_caster
Custom script: call SetUnitAnimationByIndex(udg_Dashing_Stab_caster,8)
Wait 0.52 seconds
Animation - Change Dashing_Stab_caster's animation speed to 0.00% of its original speed
Trigger - Turn on Dashing Stab progress <gen>
Dashing Stab progress
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Dashing_Stab_move Less than or equal to Dashing_Stab_loop
(Dashing_Stab_caster is alive) Equal to True
Then - Actions
Set Dashing_Stab_move = (Dashing_Stab_move + 1)
Set Dashing_Stab_group = (Units within 150.00 of (Position of Dashing_Stab_caster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of Dashing_Stab_caster)) Equal to True) and ((((Matching unit) is alive) Equal to True)
Unit - Move Dashing_Stab_caster instantly to (Dashing_Stab_loc offset by (30.00 x (Real(Dashing_Stab_move))) towards (Facing of Dashing_Stab_caster) degrees), facing (Facing of Dashing_Stab_caster) degrees
Special Effect - Create a special effect at (Position of Dashing_Stab_caster) using Abilities\Spells\Human\FlakCannons\FlakTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in Dashing_Stab_group and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to Dashing_Stab_hit
Unit - Cause Dashing_Stab_caster to damage (Picked unit), dealing (65.00 + (45.00 x (Real((Level of Dashing Stab for Dashing_Stab_caster))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the origin of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call DestroyGroup(udg_Dashing_Stab_group)
Else - Actions
Unit - Unpause Dashing_Stab_caster
Unit - Turn collision for Dashing_Stab_caster On
Animation - Change Dashing_Stab_caster's animation speed to 100.00% of its original speed
Animation - Reset Dashing_Stab_caster's animation
Custom script: call RemoveLocation(udg_Dashing_Stab_loc)
Custom script: call DestroyGroup(udg_Dashing_Stab_hit)
Set Dashing_Stab_caster = No unit
Trigger - Turn off (This trigger)
Mã:Dashing Stab Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Dashing Stab Actions Set Dashing_Stab_move = 0 Set Dashing_Stab_caster = (Casting unit) Set Dashing_Stab_loc = (Position of Dashing_Stab_caster) Set Dashing_Stab_loop = ((Integer((Distance between Dashing_Stab_loc and (Target point of ability being cast)))) / 30) Unit - Turn collision for Dashing_Stab_caster Off Unit - Pause Dashing_Stab_caster Custom script: call SetUnitAnimationByIndex(udg_Dashing_Stab_caster,8) Wait 0.52 seconds Animation - Change Dashing_Stab_caster's animation speed to 0.00% of its original speed Trigger - Turn on Dashing Stab progress <gen>Mã:Dashing Stab progress Events Time - Every 0.02 seconds of game time Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Dashing_Stab_move Less than or equal to Dashing_Stab_loop (Dashing_Stab_caster is alive) Equal to True Then - Actions Set Dashing_Stab_move = (Dashing_Stab_move + 1) Set Dashing_Stab_group = (Units within 150.00 of (Position of Dashing_Stab_caster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of Dashing_Stab_caster)) Equal to True) and ((((Matching unit) is alive) Equal to True) Unit - Move Dashing_Stab_caster instantly to (Dashing_Stab_loc offset by (30.00 x (Real(Dashing_Stab_move))) towards (Facing of Dashing_Stab_caster) degrees), facing (Facing of Dashing_Stab_caster) degrees Special Effect - Create a special effect at (Position of Dashing_Stab_caster) using Abilities\Spells\Human\FlakCannons\FlakTarget.mdl Special Effect - Destroy (Last created special effect) Unit Group - Pick every unit in Dashing_Stab_group and do (Actions) Loop - Actions Unit Group - Add (Picked unit) to Dashing_Stab_hit Unit - Cause Dashing_Stab_caster to damage (Picked unit), dealing (65.00 + (45.00 x (Real((Level of Dashing Stab for Dashing_Stab_caster))))) damage of attack type Spells and damage type Normal Special Effect - Create a special effect attached to the origin of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl Special Effect - Destroy (Last created special effect) Custom script: call DestroyGroup(udg_Dashing_Stab_group) Else - Actions Unit - Unpause Dashing_Stab_caster Unit - Turn collision for Dashing_Stab_caster On Animation - Change Dashing_Stab_caster's animation speed to 100.00% of its original speed Animation - Reset Dashing_Stab_caster's animation Custom script: call RemoveLocation(udg_Dashing_Stab_loc) Custom script: call DestroyGroup(udg_Dashing_Stab_hit) Set Dashing_Stab_caster = No unit Trigger - Turn off (This trigger)
không biết mình sai chỗ nào mà các unit bị damage liên tục chứ không phải bị 1 lần.Bởi vậy lướt qua là chết hết.Mong các bạn giúp đỡ
