Topic hỏi đáp về cách làm map | version 13

Status
Không mở trả lời sau này.
Leader
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled <Empty String>
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label <Empty String> and value 0
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label <Empty String> and value 0
Set Leader = (Last created leaderboard)
ý là hỏi cái này hả
 
^
cái ấy là cái board thôi, còn làm cho nó tính số lần giết và tổng số lần giết như thế nào :-??
 
update
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Set score[(Player number of (Owner of (Killing unit)))] = (score[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in Leader to score[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leader by Value in Descending order

đặt 2 biến : leader : Leaderboard
score : integer array (1)

---------- Post added at 21:50 ---------- Previous post was at 21:48 ----------

hiểu chưa ông nội :7cool_waaaht:
 
Đúng là kiến thức WE của mình wá ít, đặc biệt là trigger. Có ai rảnh làm "gia sư WE" với
 
backtrack
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Not equal to (Damage source)
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
Else - Actions




add
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Trigger - Add to backtrack <gen> the event (Unit - (Triggering unit) Takes damage)

Các bác xem trigger này xem, có đúng chiêu back track dạng thế này ko?
 
backtrack
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Not equal to (Damage source)
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
Else - Actions




add
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Trigger - Add to backtrack <gen> the event (Unit - (Triggering unit) Takes damage)

Các bác xem trigger này xem, có đúng chiêu back track dạng thế này ko?
tại sao bạn lại ko nghĩ back track đơn giản là skill knock damage của con stone gaint trong melee :-??
 
^
ừ nhỉ, nó knock có đánh thường ko à. Thế mà trước giờ cứ tưởng... :">
 
^
đưa để ông ăn cắp bản quyền à? Đc thôi, nhưng với đk là tui kêu giúp gì thì ông phải giúp hết sức có thể
 
Cho hỏi làm cái board hiện thời gian đã chơi thì làm như thế nào? Hiện thời gian đã chơi ngoài đời thực nha :D

Giống như dotA ấy, nhưng hình như của dotA hơi chậm so với giờ thực tế.
 
Cho hỏi làm cái board hiện thời gian đã chơi thì làm như thế nào? Hiện thời gian đã chơi ngoài đời thực nha :D

Giống như dotA ấy, nhưng hình như của dotA hơi chậm so với giờ thực tế.

dota multiboard cái đó sử dụng time của countdown mà ? đó là thời gian thực và đếm theo real. lun sao lại chậm tý nhỉ :-ss
 
Mình muốn nó thành Count up thì phải làm như nào? Tại mấy bài hướng dẫn đều là Count down thôi :(

@LeoNguyen112:
Worker Begin
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Repair (Human)
Actions
Set Worker_Count[0] = (Player number of (Owner of (Triggering unit)))
Set Worker_Count[Worker_Count[0]] = (Worker_Count[Worker_Count[0]] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Worker_Count[Worker_Count[0]] Less than or equal to 2
Then - Actions
Else - Actions
Unit - Order (Triggering unit) to Stop
Game - Display to (All players) the text: Can not use more th...
Worker End
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Repair (Human)
Actions
Set Worker_Count[0] = (Player number of (Owner of (Triggering unit)))
Set Worker_Count[Worker_Count[0]] = (Worker_Count[Worker_Count[0]] - 1)

=> Cái này ko chạy cậu ơi, 3 con dân của 1 player vẫn sửa nhà bình thường @@. Ak, mình muốn limit chỉ 2 con dân thuộc bất kỳ player nào ý (kiểu như mỗi player có 1 con dân, thì chỉ 2 player dc sửa. Và chỉ 2 dân của player đó dc sửa thôi)
 
^ Limit repairing:
Mã:
Worker Begin
    Events
        Unit - A unit Begins channeling an ability
    Conditions
        (Ability being cast) Equal to Repair (Human)
    Actions
        Set Worker_Count = (Worker_Count + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Worker_Count Less than or equal to 2
            Then - Actions
            Else - Actions
                Unit - Order (Triggering unit) to Stop
Mã:
Worker End
    Events
        Unit - A unit Stops casting an ability
    Conditions
        (Ability being cast) Equal to Repair (Human)
    Actions
        Set Worker_Count = (Worker_Count - 1)

Count Up:
Mã:
Time Loop
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Set Time_Second = (Time_Second + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Time_Second Equal to 60
            Then - Actions
                Set Time_Second = 0
                Set Time_Minute = (Time_Minute + 1)
            Else - Actions
        Cinematic - Clear the screen of text messages for (All players)
        Game - Display to (All players) the text: (Time Elapsed:  + (((String(Time_Minute)) +  : ) + (String(Time_Second))))
 
Mọi người cho hỏi có cách nào Hide Button của một số skill passive như slow, bash, crit mà tác dụng của nó vẫn còn ko? Y như Attribute Bonus là Hide Button đặt True ấy
 
quote lại lần nữa:
phóng ra 1 cục băng, đóng băng tất cả unit xxx AOE, trong vòng x giây
trong x giây đó, unit bị đóng băng ăn thêm 10/20/30/40% damage magic
 
Status
Không mở trả lời sau này.
Back
Top