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.
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cffFFCCCCSlide Dancing|r
Actions
Set SD_Unit = (Casting unit)
Set SD_TempUnit = (Position of SD_Unit)
Set SD_TempTarger = (Target point of ability being cast)
Set SD_Distance = ((Real((Level of |cffFFCCCCSlide Dancing|r for SD_Unit))) x 10.00)
Set SD_Angle = (Angle from SD_TempUnit to SD_TempTarger)
Trigger - Turn on Spell Slide Dancing Move <gen>
[COLOR="Red"]Wait SD_Distance seconds[/COLOR]
Trigger - Turn off Spell Slide Dancing Move <gen>
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Set SD_TempUnit = (Position of SD_Unit)
Set SD_TempTarger = (SD_TempUnit offset by SD_Distance towards SD_Angle degrees)
Unit - Move SD_Unit instantly to SD_TempTarger
Mã:Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to |cffFFCCCCSlide Dancing|r Actions Set SD_Unit = (Casting unit) Set SD_TempUnit = (Position of SD_Unit) Set SD_TempTarger = (Target point of ability being cast) Set SD_Distance = ((Real((Level of |cffFFCCCCSlide Dancing|r for SD_Unit))) x 10.00) Set SD_Angle = (Angle from SD_TempUnit to SD_TempTarger) Trigger - Turn on Spell Slide Dancing Move <gen> [COLOR="Red"]Wait SD_Distance seconds[/COLOR] Trigger - Turn off Spell Slide Dancing Move <gen>Spell gốc Shockwave, hiệu ứng, chọn targer, move tới targer rồi dừng. Ai biết cách chỉnh dòng màu đỏ Wait đó ntn cho khi đến đúng chỗ targer thì Hero dừng lại lập tức ko, để như trên thì Hero nó move thêm 1 đoạn wa chỗ targer mới dừng.Mã:Events Time - Every 0.04 seconds of game time Conditions Actions Set SD_TempUnit = (Position of SD_Unit) Set SD_TempTarger = (SD_TempUnit offset by SD_Distance towards SD_Angle degrees) Unit - Move SD_Unit instantly to SD_TempTarger

Mã:Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to |cffFFCCCCSlide Dancing|r Actions Set SD_Unit = (Casting unit) Set SD_TempUnit = (Position of SD_Unit) Set SD_TempTarger = (Target point of ability being cast) Set SD_Distance = ((Real((Level of |cffFFCCCCSlide Dancing|r for SD_Unit))) x 10.00) Set SD_Angle = (Angle from SD_TempUnit to SD_TempTarger) Trigger - Turn on Spell Slide Dancing Move <gen> [COLOR="Red"]Wait SD_Distance seconds[/COLOR] Trigger - Turn off Spell Slide Dancing Move <gen>Spell gốc Shockwave, hiệu ứng, chọn targer, move tới targer rồi dừng. Ai biết cách chỉnh dòng màu đỏ Wait đó ntn cho khi đến đúng chỗ targer thì Hero dừng lại lập tức ko, để như trên thì Hero nó move thêm 1 đoạn wa chỗ targer mới dừng.Mã:Events Time - Every 0.04 seconds of game time Conditions Actions Set SD_TempUnit = (Position of SD_Unit) Set SD_TempTarger = (SD_TempUnit offset by SD_Distance towards SD_Angle degrees) Unit - Move SD_Unit instantly to SD_TempTarger
Sửa theo Boy luôn rồi, nhưng lần này nó bay còn gê hơn @@ cả ra phần đen, Boy chỉnh lại trong phần trigger dùm luôn đi1/0.04 x SD_Distance

Sửa theo Boy luôn rồi, nhưng lần này nó bay còn gê hơn @@ cả ra phần đen, Boy chỉnh lại trong phần trigger dùm luôn đi![]()
Có strigger nào làm hiện damage mình đánh trúng lên trên đầu con quái không?
Ai trả lời giúp với. Reply lần 1.
bạn phải thêm font tiếng Việt vào rồi cài đặt. Khi gõ Việt Key sẽ ko thấy có dấu nhưng vào map sẽ có dấu
Link: http://forum.gamevn.com/showpost.php?p=13342301&postcount=1
http://forum.gamevn.com/showpost.php?p=15559526
Đừng dùng wait để tạo slide vì wait là không chuẩn đâu và nhất là với cái này sẽ gặp lỗi nếu muốn MUI
Slide à. Hỏi làm gì. Không chịu nghe giáo sư Tom giảng bài rồi. Bài giảng về slide đây
sao trong game interface của mình không có cái dòng font nhỉ? Chỉ có icon, image, text, model, path, sound.
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Slide Dancing
Actions
Set SD_Caster = (Casting unit)
Set SD_CasterPoint = (Position of SD_Caster)
Set SD_Point[1] = (Position of SD_Caster)
Set SD_TargetPoint = (Target point of ability being cast)
Set SD_Angel = (Angle from SD_CasterPoint to SD_TargetPoint)
Set SD_Distance = (5.00 x (Real((Level of Slide Dancing for SD_Caster))))
Trigger - Turn on Slide Dancing 2 <gen>
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
(Distance between SD_Point[1] and SD_TargetPoint) Greater than or equal to (SD_Distance / 2.00)
Then - Actions
Set SD_Point[2] = (SD_Point[1] offset by SD_Distance towards SD_Angel degrees)
Unit - Move SD_Caster instantly to SD_Point[2]
Set SD_Point[1] = SD_Point[2]
Else - Actions
Trigger - Turn off (This trigger)
!
( mọi thứ trong map cà dựt cà dựt). Ai biết vụ này là do nguyên nhân gì ko 

( mọi thứ trong map cà dựt cà dựt). Ai biết vụ này là do nguyên nhân gì ko 
[DemonPrince];18450878 nói:Vì dmg hiện lên là số máu mất đi của con quái sau hit của mình , vì thế cách làm như sau: bất kì 1 spell gây dmg của bạn cũng phải có thêm những bước này :
- tạo biến a lưu số máu kẻ địch hiện có.
- gây dmg của spell cho địch.
- lấy số máu hiện tại của địch - a. dùng hàm abs của math ( absolute - lấy số nguyên ) gán vào biến b.
ví dụ ban đầu địch có 300 máu, dam spell là 100 , giảm , kháng gì đó thì sau khi gây dmg địch còn 230. nó lấy 230 - 300 = abs(-70) = 70 .
-dùng floating text cho bay trên đầu kẻ địch , giá trị là b ( là 70 ).
Vậy dmg mình đánh trúng hiện đúng 70 chứ ko phải damage spell là 100.
Dùng IF như vậy là chính xác đến tuyệt đối!
Cái bạn muốn đây hửm, có trong tut rồi mà: "Set SlideTick = 20 //tick = 20, mỗi tick là 0.04 (xem event của trigger Slide) -> cần 20 * 0.04 = 0.8 giây để move xong, tương đương với 0.8s stun ::)"