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

Status
Không mở trả lời sau này.
Cho hỏi :|
Map mình đặt những region ở 2 team, làm trigger khi team khác bươc vào thì trừ 3 điểm mỗi chỉ số (Str,Agi,Intel, base từ Attribute Bonus chỉnh số âm) thì đc. Nhưng khi làm abilily đó nhiều level để khi phá một trụ sẽ set + 1 rồi set level của ability này cũng + 1 thì ko đc. Vẫn -3. Đây là trigger
Region bên team 2
Mã:
Region 1
    Events
        Unit - A unit enters Invunerable Team 2 <gen>
        Unit - A unit enters Region 037 <gen>
        Unit - A unit enters Region 038 <gen>
        Unit - A unit enters Region 039 <gen>
        Unit - A unit enters Region 040 <gen>
        Unit - A unit enters Region 041 <gen>
        Unit - A unit enters Region 042 <gen>
        Unit - A unit enters Region 043 <gen>
        Unit - A unit enters Region 044 <gen>
        Unit - A unit enters Region 045 <gen>
        Unit - A unit enters Region 046 <gen>
        Unit - A unit enters Region 047 <gen>
        Unit - A unit enters Region 048 <gen>
        Unit - A unit enters Region 049 <gen>
        Unit - A unit enters Region 050 <gen>
        Unit - A unit enters Region 051 <gen>
    Conditions
        ((Entering unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an ally of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Add Tru Chi So  to (Entering unit)
                Unit - Set level of Tru Chi So  for (Entering unit) to Level_Truchiso[1]
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an enemy of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Remove Tru Chi So  from (Entering unit)
            Else - Actions
Region bên team 1
Mã:
Region 2
    Events
        Unit - A unit enters Invunerable Team 1 <gen>
        Unit - A unit enters Region 052 <gen>
        Unit - A unit enters Region 053 <gen>
        Unit - A unit enters Region 054 <gen>
        Unit - A unit enters Region 055 <gen>
        Unit - A unit enters Region 065 <gen>
        Unit - A unit enters Region 056 <gen>
        Unit - A unit enters Region 057 <gen>
        Unit - A unit enters Region 058 <gen>
        Unit - A unit enters Region 059 <gen>
        Unit - A unit enters Region 060 <gen>
        Unit - A unit enters Region 061 <gen>
        Unit - A unit enters Region 062 <gen>
        Unit - A unit enters Region 063 <gen>
        Unit - A unit enters Region 064 <gen>
        Unit - A unit enters Region 065 <gen>
        Unit - A unit enters Region 066 <gen>
        Unit - A unit enters Region 067 <gen>
    Conditions
        ((Entering unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an enemy of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Add Tru Chi So  to (Entering unit)
                Unit - Set level of Tru Chi So  for (Entering unit) to Level_Truchiso[2]
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an ally of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Remove Tru Chi So  from (Entering unit)
            Else - Actions
Region đây là ở giữa, tức vào ko trừ
Mã:
Region 3
    Events
        Unit - A unit enters Region 068 <gen>
        Unit - A unit enters Region 069 <gen>
        Unit - A unit enters Region 070 <gen>
        Unit - A unit enters Region 071 <gen>
        Unit - A unit enters Region 072 <gen>
        Unit - A unit enters Region 073 <gen>
        Unit - A unit enters Region 074 <gen>
        Unit - A unit enters Region 075 <gen>
        Unit - A unit enters Region 076 <gen>
        Unit - A unit enters Region 077 <gen>
        Unit - A unit enters Region 078 <gen>
        Unit - A unit enters Region 079 <gen>
        Unit - A unit enters Region 080 <gen>
        Unit - A unit enters Region 081 <gen>
        Unit - A unit enters Region 082 <gen>
        Unit - A unit enters Region 083 <gen>
        Unit - A unit enters Region 084 <gen>
        Unit - A unit enters Region 085 <gen>
        Unit - A unit enters Region 086 <gen>
        Unit - A unit enters Region 087 <gen>
        Unit - A unit enters Region 088 <gen>
        Unit - A unit enters Region 089 <gen>
        Unit - A unit enters Region 090 <gen>
        Unit - A unit enters Region 091 <gen>
        Unit - A unit enters Region 092 <gen>
        Unit - A unit enters Region 093 <gen>
        Unit - A unit enters Region 094 <gen>
        Unit - A unit enters Region 095 <gen>
        Unit - A unit enters Region 096 <gen>
        Unit - A unit enters Region 097 <gen>
        Unit - A unit enters Region 098 <gen>
    Conditions
        ((Entering unit) is A Hero) Equal to True
    Actions
        Unit - Remove Tru Chi So  from (Entering unit)
Và trigger khi nhà team nào bể thì set biến để tăng level của ability đó lên
Mã:
Vulnerable 2
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to |cff008000Cæ thô cÊp 1|r
    Actions
        Set Level_Truchiso[2] = (Level_Truchiso[2] + 1)
Mã:
Vulnerable 6
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to |cff8A2BE2Vßi quû cÊp 1|r
    Actions
        Set Level_Truchiso[1] = (Level_Truchiso[1] + 1)
^ Tượng trưng chứ có nhiều trigger với level của tower khác nhau.

Quote :|
...........................................
 

Dying unit thì dies rồi đó nhưng set Level_Truchiso[1] cho unit nào và cho cái gì mới được chứ ?
Cụ thể em phải pick every unit belong an enemy of owner of dying unit rồi set level of ability Tru Chi So là cái biến Level_Truchiso[1] cho picked unit đó chứ :-??
 
Chỉnh sửa cuối:
Mã:
Region 1
    Events
        Unit - A unit enters Invunerable Team 2 <gen>
        Unit - A unit enters Region 037 <gen>
        Unit - A unit enters Region 038 <gen>
        Unit - A unit enters Region 039 <gen>
        Unit - A unit enters Region 040 <gen>
        Unit - A unit enters Region 041 <gen>
        Unit - A unit enters Region 042 <gen>
        Unit - A unit enters Region 043 <gen>
        Unit - A unit enters Region 044 <gen>
        Unit - A unit enters Region 045 <gen>
        Unit - A unit enters Region 046 <gen>
        Unit - A unit enters Region 047 <gen>
        Unit - A unit enters Region 048 <gen>
        Unit - A unit enters Region 049 <gen>
        Unit - A unit enters Region 050 <gen>
        Unit - A unit enters Region 051 <gen>
    Conditions
        ((Entering unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an ally of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Add Tru Chi So  to (Entering unit)
                Unit - Set level of Tru Chi So  for (Entering unit) to Level_Truchiso[1]
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Entering unit) belongs to an enemy of Player 1 (Red)) Equal to True
            Then - Actions
                Unit - Remove Tru Chi So  from (Entering unit)
            Else - Actions

Tức unit team 1 vào region này sẽ bị add ability đó vào và set level tới Truchiso[1]
Mà Truchiso[1] lại là khi tower bên team 2 bể => set + 1
 
Không hiểu nữa thì anh chịu rồi =-=
Mã:
Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to |cff8A2BE2Vßi quû cÊp 1|r
    Actions
        Level_Truchiso[1] = (Level_Truchiso[1] + 1)
        Set Group = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Level of Tru Chi So  for (Matching unit)) Greater than 0) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))))
        Unit Group - Pick every unit in Group and do (Actions)
        Loop - Actions
                 Unit - Set level of Tru Chi So  for (Picked unit) to Level_Truchiso[1]
        Call DestroyGroup (udg_Group)
 
Mọi người ai MUI trigger này giúp mình với :|
Mã:
Hero Dies
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
    Actions
        Set Hero_Revive[0] = (Dying unit)
        Set Point_Map[40] = (Position of Hero_Revive[0])
        Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ((  + ((Name of (Killing unit)) + ()  + ( võa h¹  + ((Name of (Owner of (Dying unit))) + ( ( + ((Name of (Dying unit)) + )))))))))
        Unit - Create 1 |cff808080HÃ¥n ma|r for (Owner of Hero_Revive[0]) at Point_Map[40] facing Default building facing degrees
        Set Hero_Revive[1] = (Last created unit)
        Selection - Select Hero_Revive[1] for (Owner of Hero_Revive[0])
        Unit - Add a (3.00 + ((Real((Level of Hero_Revive[0]))) x 2.00)) second Generic expiration timer to Hero_Revive[1]
        Custom script:   call RemoveLocation(udg_Point_Map[40])
Mã:
Ghost Dies
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to |cff808080HÃ¥n ma|r
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Hero_Revive[0] belongs to an ally of Player 1 (Red)) Equal to True
                (Owner of (Dying unit)) Equal to (Owner of Hero_Revive[0])
            Then - Actions
                Set Point_Map[41] = (Center of Region 023 <gen>)
                Hero - Instantly revive Hero_Revive[0] at Point_Map[41], Show revival graphics
            Else - Actions
                Set Point_Map[41] = (Center of Region 025 <gen>)
                Hero - Instantly revive Hero_Revive[0] at Point_Map[41], Show revival graphics
        Custom script:   call RemoveLocation(udg_Point_Map[41])
 
Có demo của anh Tom về vụ hồi sinh này mà,cũng MUI đàng hoàng,copy vào map cho lẹ,làm mới chi cho mệt


làm cái đó rồi nhưng mà vẫn không được bạn ak` mà khi trượt thì mình có thể di chuyển sang trái hay phải không

Để Even every time không thấp quá đủ thời gian cho phép mình điều khiển unit quay mặt sang hướng khác slide là được mà
 
^ Đã cop a à, từ lâu là khác. Nhưng chả hiểu sao khi hiện show cái time windown thì chả thấy số đâu :-??. Đã xem kĩ TempReal @@
 
cho mình hỏi cái hơi lạc đề :| làm sao để map trên epicwar thay vì nó hiện minimap, thì nó hiện map preview. map mình có map preview nhưng up lên epic thì toàn show minimap, mình thấy 1 số map up lên nó hiện map preview
 
Cho em hỏi skill battle roar có tăng % dc k ........ nếu k làm dc thì ai giúp mìnk làm cái spell này : tăng 135%/170%/205%/240% trong 10s. Nếu đánh vô 1 đối thủ thì lập tức hết.
 
Mấy bạn xem hình
68ef0f3475096a41c0654969fe5c0bf2_45289402.untitled.bmp

Cái model này bị sao ai chỉ dùm vs tạo portrait cho nó cũng ko được. Mỗi lần muốn chọn nó là phải bấm vào icon :4cool_confuse:
 

Attachments

Cho em hỏi skill battle roar có tăng % dc k ........ nếu k làm dc thì ai giúp mìnk làm cái spell này : tăng 135%/170%/205%/240% trong 10s. Nếu đánh vô 1 đối thủ thì lập tức hết.

Có roar bên NE tăng % đó :|, check khi vừa đánh thì remove buff là xong
 
Status
Không mở trả lời sau này.
Back
Top