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

Status
Không mở trả lời sau này.
Tình hình là ai xem dùm em sao chơi chiêu này xong 1 lần là lần 2 chơi hết được
Mã:
 Truy Hon
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Truy Hån TÕ 
    Actions
        Set HMLTInt = (HMLTInt + 1)
        Set HMLT[1] = (Casting unit)
        Set HMLTPoint[1] = (Position of HMLT[1])
        Set HMLTGroup[1] = (Units within 500.00 of HMLTPoint[1])
        Unit Group - Pick every unit in HMLTGroup[1] and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is A structure) Equal to False
                        ((Picked unit) is alive) Equal to True
                        ((Picked unit) belongs to an enemy of (Owner of HMLT[1])) Equal to True
                    Then - Actions
                        Unit Group - Add (Picked unit) to HMLTGroup2[HMLTInt]
                        EGUI Effect - Create an effect at (Position of (Picked unit)) using the model Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl that lasts for 1.00 seconds
                    Else - Actions
        Wait 1.00 seconds
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Unit Group - Pick every unit in HMLTGroup2[HMLTInt] and do (Actions)
                    Loop - Actions
                        Unit - Cause HMLT[1] to damage (Picked unit), dealing (Real((25 + (25 x (Level of Truy Hån TÕ  for HMLT[1]))))) damage of attack type Hero and damage type Cold
                        EGUI Dummy - Create a |cff696969HÃ¥n Ma Lang Thang|r for (Owner of HMLT[1]) at (Position of (Picked unit)) facing Default building facing. Give an expiration timer that will expire in 7.00 seconds
                Wait 1.00 seconds
        Trigger - Turn on (This trigger)
        Custom script:   call RemoveLocation ( udg_HMLTPoint[1] )
        Custom script:   call DestroyGroup ( udg_HMLTGroup[1] )
        Unit Group - Remove all units from HMLTGroup2[HMLTInt]
 
Cho hỏi 2 cái code này (do lâu ngày ko dùng và bị mất map mẫu nên quên mất >"<) :
1. Code ko làm hiện unit trên mini map (như skill 3 của PA trong Dota).
2. Unit slide đến mép của bản đồ thì dừng lại ko slide nữa.
 
NÉu như mình mún làm một aura mà những thằng bị effect sẽ bị trừ stats

Stats gì ? Nếu là stats giảm dam, armor hay attack/movement rate thì cứ đem Endurance Aura, Devotion Aura,... ra mà hù ~ Stats hero thì thánh làm dc.

Muốn trừ như Endurance Aura thì chỉnh target là enemy, cái phần ??? Bonus thì Shift click vào gõ -?%

?: tùy

Tình hình là ai xem dùm em sao chơi chiêu này xong 1 lần là lần 2 chơi hết được
Mã:
 [SIZE=3][SIZE=4][SIZE=3]Truy Hon
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Truy Hån TÕ 
    Actions
        Set HMLTInt = (HMLTInt + 1)
        Set HMLT[1] = (Casting unit)
        Set HMLTPoint[1] = (Position of HMLT[1])
        Set HMLTGroup[1] = (Units within 500.00 of HMLTPoint[1])
        Unit Group - Pick every unit in HMLTGroup[1] and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is A structure) Equal to False
                        ((Picked unit) is alive) Equal to True
                        ((Picked unit) belongs to an enemy of (Owner of HMLT[1])) Equal to True
                    Then - Actions
                        Unit Group - Add (Picked unit) to HMLTGroup2[HMLTInt]
                        EGUI Effect - Create an effect at (Position of (Picked unit)) using the model Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl that lasts for 1.00 seconds
                    Else - Actions
        [I]Wait 1.00 seconds
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Unit Group - Pick every unit in HMLTGroup2[HMLTInt] and do (Actions)
                    Loop - Actions
                        Unit - Cause HMLT[1] to damage (Picked unit), dealing (Real((25 + (25 x (Level of Truy Hån TÕ  for HMLT[1]))))) damage of attack type Hero and damage type Cold
                        EGUI Dummy - Create a |cff696969HÃ¥n Ma Lang Thang|r for (Owner of HMLT[1]) at (Position of (Picked unit)) facing Default building facing. Give an expiration timer that will expire in 7.00 seconds
                Wait 1.00 seconds
        [B]Trigger - Turn on (This trigger)[/B]
        Custom script:   call RemoveLocation ( udg_HMLTPoint[1] )
        Custom script:   call DestroyGroup ( udg_HMLTGroup[1] )
        Unit Group - Remove all units from HMLTGroup2[HMLTInt][/I][/SIZE][/SIZE][/SIZE]

? Có turn off đâu mà turn on ? Cho mình hỏi cái, cái phần in nghiêng là khi If đầu nó false hay là riêng ?
 
Chỉnh sửa cuối:
cho hỏi có cách nào BackUp lại Maps ko , tự nhiên em lỡ chĩnh quá trời sau đó Trigger bị lệch mà lỡ Save tắt Maps,Rồi hư nguyên maps, giờ có cách nào Back Up lại từ đầu ko ? huhu
 
mọi ng` ơi ...s cái Jass của tui ... h nó cứ kiu là "An instance of WE seems to be running already " .... bây h fải làm s
@fantom : nếu làm custom aura thì fải bjk về trigger vs Jass ... còn aura thế nào thì bạn fải nói ra đã
up câu hỏi .
@fantom : nếu mún trừ stats = aura thì trc hết bạn lấy bất kì aura có sẵn , thay unit chịu ảnh hưởg thành Enemy, Neutrals ( sr mất WE k nêu rõ dc ) , nếu là các loại aura trừ movementspeed , trừ armor , trừ damg ,... thì bạn nhấn Shift + Enter để nhập các giá trị âm , khí đó n~ Unit chịu effect sẽ + giá trị âm ( tức trừ bớt đi ) ... còn n~ aura cao cấp hơn thì cần fải làm = trigger
 
cho hỏi có cách nào BackUp lại Maps ko , tự nhiên em lỡ chĩnh quá trời sau đó Trigger bị lệch mà lỡ Save tắt Maps,Rồi hư nguyên maps, giờ có cách nào Back Up lại từ đầu ko ? huhu

có đấy! nếu xài jassnewgen. thì vào thư mục warcraft tìm folder có tên là Backup ở trong đó từ từ mò ra map mình ;;)
 
cho hỏi 2 skill mà bị trùng nick với nhau làm sao fix lại huhu ? mình bấm skill W nó ra E , mà bấm E thì vẫn bình thường , mà khi skill E chưa quay xong thì bấm W vẫn bình thường ? huhu làm ơn chỉ giúp em các anh chị ?
 
cho hỏi 2 skill mà bị trùng nick với nhau làm sao fix lại huhu ? mình bấm skill W nó ra E , mà bấm E thì vẫn bình thường , mà khi skill E chưa quay xong thì bấm W vẫn bình thường ? huhu làm ơn chỉ giúp em các anh chị ?

fix lại là fix thế nào? dùng skill khác để không trùng thôi :-??
 
Tình hình là ai xem dùm em sao chơi chiêu này xong 1 lần là lần 2 chơi hết được
Trước dòng Unit Group - Add (Picked unit) to HMLTGroup2[HMLTInt] thêm vào custom script set udg_HMLTGroup2[udg_HMLTInt] = CreateGroup() thì có thể lần 2+ sẽ chạy.

YAN[asian];20495532 nói:
Cho hỏi 2 cái code này (do lâu ngày ko dùng và bị mất map mẫu nên quên mất >"<) :
1. Code ko làm hiện unit trên mini map (như skill 3 của PA trong Dota).
Down và import file ở dưới, khỏi sửa tên cũng được. Khi khởi tạo thêm call SetAltMinimapIcon("war3mapImported\\black.blp")
Về sau thì dùng call UnitSetUsesAltIcon(<whichUnit>, <boolean>)
 

Attachments

Mã:
Steps Of The Venom
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Steps Of The Venom 
    Actions
        Set StepOfTheVenom_Caster = (Triggering unit)
        Unit - Add Steps of The Venom Speed +  to StepOfTheVenom_Caster
        Unit - Set level of Steps of The Venom Speed +  for StepOfTheVenom_Caster to (Level of Steps Of The Venom  for StepOfTheVenom_Caster)
        Wait until ((StepOfTheVenom_Caster has buff Steps Of The Venom Side Effect ) Equal to False), checking every 0.10 seconds
        Unit - Remove Steps of The Venom Speed +  from StepOfTheVenom_Caster

Cho hỏi trigger nó bị dư lào mà con nhỏ mới Activate Immolation (ở đây là Step Of The Venom) dc một tí speed có cộng thật (effect của Step Of The Venom Speed +) nhưng dc chừng 3 ~ 5s là mất o_O" Buff của Step Of The Venom là Step Of The Venom Side Effect, và Immolation (Caster). Khi chơi thì chỉ hiện buff Step Of The Venom Side Effect ko thấy Immolation (caster).

Up lại câu hỏi \m/ Ai biết trã lời dùm i :(
 
mọi ng` ơi ...s cái Jass của tui ... h nó cứ kiu là "An instance of WE seems to be running already " .... bây h fải làm s
@fantom : nếu làm custom aura thì fải bjk về trigger vs Jass ... còn aura thế nào thì bạn fải nói ra đã

s k ai trả lời giúp tui thế @@
 
Về sau thì dùng call UnitSetUsesAltIcon(<whichUnit>, <boolean>)

Cái chỗ "boolean" thì phải điền cái gì vào nhỉ?

Và còn cái này nữa ?
2. Unit slide đến mép của bản đồ thì dừng lại ko slide nữa.
 
Chỉnh sửa cuối:
2. Unit slide đến mép của bản đồ thì dừng lại ko slide nữa.
Nhớ đã từng ai đó nói về thứ đó với Pathability system. [Just a guess]
cho mình hỏi cách làm slide???
Ngàn vạn chục lần cũng với câu hỏi mà nguyên nhân là không chịu tìm tòi.
Tổng hợp các bài hướng dẫn và một số link hữu dụng

h nó cứ kiu là "An instance of WE seems to be running already " .... bây h fải làm s
Có thể do antivirus, điển hình là KAV.
Xóa toàn bộ NG của bạn.
Tắt Kaspersky, re-download JNG [link dưới nếu cần]
Reset máy, tắt Kaspersky và chạy NG.
Nguồn: wc3c.net
 
đã tìm tòi, tìm hiểu nhưng ko hỉu làm sao cho một dummy unit slide chứ kp hải cho target slide!!!!!!!!!1
 
@YAN[asian]:

ví dụ
Boolean mình điền là true ( ẩn) false (hiện)
call UnitSetUsesAltIcon(udg_TempUnit, true)
 
Chỉnh sửa cuối:
Cho mình hỏi cái code này ở đâu thế?
Mã:
   Set Group = (Units within 400.00 of Point_Target matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True)))
 
Status
Không mở trả lời sau này.
Back
Top