Page 1 of 2 12 LastLast
Results 1 to 15 of 19
http://idgs.in/316000
  1. #1
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default [ASK]Trigger not function

    gini idennya , saya mau buat spell , dia basennya thunder clap, tp khusus buat hero yg bs kena thunder clap ini, AOEnya 99999, nah setelah kena thunderclap ini , maksudnya saya buat unit buat nyerang musuh yg kena thunder clap ini disekitar area musuh yg kena buff thunderclap ini.
    ini contoh triggernya, tp kok unitnya ga bisa keluar di position hero musuh yg kena buffnya ya?

    Koloni Kecoak
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Koloni Kecoak
    Actions
    Set Kecoakz = (Triggering unit)
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Picked unit) belongs to an enemy of (Owner of Kecoakz)) Equal to True
    ((Picked unit) has buff Serbuan Kecoak ) Equal to True
    Then - Actions
    Unit - Create (((Level of Koloni Kecoak for (Triggering unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees
    Else - Actions

  2. Hot Ad
  3. #2
    Section's Avatar
    Join Date
    Nov 2006
    Location
    about.me/SECTION
    Posts
    2,095
    Points
    11,041.04
    Thanks: 45 / 112 / 98

    Default

    1. Coba lo pastiin heronya bener2 kena buff "Serbuan Kecoak" ato ga.
    2. Mending ga perlu Thunder Clap AoE 99999, tapi langsung di pick via trigger, trus langsung di eksekusi.
    3. Coba Triggering Unit nya ganti jadi Casting Unit. Kadang-kadang Triggering Unit bisa ke replace sama event lain.
    4. Coba di trace atau di debug via Debug Message, setiap loopnya keluar tulisan debug lo ato ga...

  4. #3
    valkemiere's Avatar
    Join Date
    Oct 2006
    Location
    In my Rainbow Castle
    Posts
    1,874
    Points
    5,111.21
    Thanks: 65 / 32 / 31

    Default

    If - Conditions
    ((Picked unit) belongs to an enemy of (Owner of Kecoakz)) Equal to True
    ((Picked unit) has buff Serbuan Kecoak ) Equal to True

    coba ganti picked unit dgn matching unit

  5. #4
    Section's Avatar
    Join Date
    Nov 2006
    Location
    about.me/SECTION
    Posts
    2,095
    Points
    11,041.04
    Thanks: 45 / 112 / 98

    Default

    Iyah... Kalo pick sekali eksekusi lebih ramah di match drpada di if "picked unit"...

  6. #5
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default

    udah di coba matching unit tetep g bisa keluar unitnya..

  7. #6
    Section's Avatar
    Join Date
    Nov 2006
    Location
    about.me/SECTION
    Posts
    2,095
    Points
    11,041.04
    Thanks: 45 / 112 / 98

    Default

    udah di trace belom? coba lo kasi BJDebugMsg di bagian loop. Lo cek apa di game keluar teks apa ga... kalo ga berarti ada masalah di loop nya...

  8. #7
    valkemiere's Avatar
    Join Date
    Oct 2006
    Location
    In my Rainbow Castle
    Posts
    1,874
    Points
    5,111.21
    Thanks: 65 / 32 / 31

    Default

    gini aja kondisinya

    Unit Group - Pick every unit in (Units in (Playable map area)) matching unit belongs to an enemy of (Owner of Kecoakz)) Equal to True and matching unit has buff Serbuan Kecoak ) Equal to True and do (Actions)
    Then - Actions
    Unit - Create (((Level of Koloni Kecoak for (Triggering unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees

  9. #8
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default

    skrg udh jd gini triggernya, tp tetep aj ga work :
    Koloni Kecoak
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Koloni Kecoak
    Actions
    Set Kecoakz = (Casting unit)
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (((Matching unit) belongs to an enemy of (Owner of Kecoakz)) Equal to True) and (((Matching unit) has buff Serbuan Kecoak ) Equal to True)
    Then - Actions
    Unit - Create (((Level of Koloni Kecoak for (Triggering unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees
    Else - Actions

    Quote Originally Posted by Section View Post
    1. Coba lo pastiin heronya bener2 kena buff "Serbuan Kecoak" ato ga.
    2. Mending ga perlu Thunder Clap AoE 99999, tapi langsung di pick via trigger, trus langsung di eksekusi.
    3. Coba Triggering Unit nya ganti jadi Casting Unit. Kadang-kadang Triggering Unit bisa ke replace sama event lain.
    4. Coba di trace atau di debug via Debug Message, setiap loopnya keluar tulisan debug lo ato ga...
    1. udah aq pastiin kena kok buffnya.
    2. iya udah di pick kok.
    3. udah di ganti ke casting unit, tetep g bs
    4. wah aku ga ngerti klo sampe ke gituan gmn maksudnya ?
    Quote Originally Posted by Section View Post
    udah di trace belom? coba lo kasi BJDebugMsg di bagian loop. Lo cek apa di game keluar teks apa ga... kalo ga berarti ada masalah di loop nya...
    maksudnya ?,gimana carannya?
    Quote Originally Posted by valkemiere View Post
    gini aja kondisinya

    Unit Group - Pick every unit in (Units in (Playable map area)) matching unit belongs to an enemy of (Owner of Kecoakz)) Equal to True and matching unit has buff Serbuan Kecoak ) Equal to True and do (Actions)
    Then - Actions
    Unit - Create (((Level of Koloni Kecoak for (Triggering unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees

  10. #9
    Section's Avatar
    Join Date
    Nov 2006
    Location
    about.me/SECTION
    Posts
    2,095
    Points
    11,041.04
    Thanks: 45 / 112 / 98

    Default

    Jadi habis "pick every unit..." kasi call BJDebugMsg() dan messagenya name of picked unit. Intinya kyk verbose mode, nampilin smua kegiatan yg dilakukan lewat tulisan. Kpn2 gw kasi contoh nge-trace...

  11. #10
    valkemiere's Avatar
    Join Date
    Oct 2006
    Location
    In my Rainbow Castle
    Posts
    1,874
    Points
    5,111.21
    Thanks: 65 / 32 / 31

    Default

    Units in (Playable map area) < km klik.. trug ganti >>>Unit in rect matching condition >> trus d bkin kyk yg "Unit Group - Pick every unit in (Units in (Playable map area)) matching unit belongs to an enemy of (Owner of Kecoakz)) Equal to True and matching unit has buff Serbuan Kecoak ) Equal to True and do (Actions)"

  12. #11
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default

    Quote Originally Posted by Section View Post
    Jadi habis "pick every unit..." kasi call BJDebugMsg() dan messagenya name of picked unit. Intinya kyk verbose mode, nampilin smua kegiatan yg dilakukan lewat tulisan. Kpn2 gw kasi contoh nge-trace...
    masih ga ngerti maksudnya T.T

    Quote Originally Posted by valkemiere View Post
    Units in (Playable map area) < km klik.. trug ganti >>>Unit in rect matching condition >> trus d bkin kyk yg "Unit Group - Pick every unit in (Units in (Playable map area)) matching unit belongs to an enemy of (Owner of Kecoakz)) Equal to True and matching unit has buff Serbuan Kecoak ) Equal to True and do (Actions)"
    udah aq ganti jd gini triggernya, tp tetep ga ngefek,, pusing abiiiis @_@!

    Koloni Kecoak
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Koloni Kecoak
    Actions
    Set Kecoakz = (Casting unit)
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Serbuan Kecoak ) Equal to True)) and do (Actions)
    Loop - Actions
    Unit - Create (((Level of Koloni Kecoak for (Casting unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees

  13. #12
    valkemiere's Avatar
    Join Date
    Oct 2006
    Location
    In my Rainbow Castle
    Posts
    1,874
    Points
    5,111.21
    Thanks: 65 / 32 / 31

    Default

    buff nya cpt ilang nya?
    tu kondisinya blm ngikutin km.

  14. #13
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default

    buffnya 3 ******* gmn?

  15. #14
    Rain's Avatar
    Join Date
    Dec 2006
    Location
    Everywhere Everyplaces
    Posts
    2,602
    Points
    13,969.78
    Thanks: 94 / 203 / 180

    Default

    ??? kok jadi bintang" sih aku ngetik 'cuma 3 detik'?

  16. #15
    valkemiere's Avatar
    Join Date
    Oct 2006
    Location
    In my Rainbow Castle
    Posts
    1,874
    Points
    5,111.21
    Thanks: 65 / 32 / 31

    Default

    cb upload map nya dsini.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •