Results 1 to 8 of 8
http://idgs.in/263042
  1. #1

    Join Date
    Jun 2007
    Location
    asik
    Posts
    122
    Points
    185.80
    Thanks: 4 / 3 / 3

    Question [TANYA]trigger resep yg oke..

    all numpang nanya nih trigger resep yg ok gmn,jd misal contoh ada item a b c,terus ada resep e,untuk buat resep e itu butuh item a b c,gmn y enaknya triggernya yg pas,sebenernya udah ada sih triggernya ,cuman kurang pas. barangnya harus di taruh 1 1 ditanah terus di ambilin baru bisa jd resepnya. nih contoh trigger resepku yg kurang ok :
    recipe item Cakar Jendral Mutan
    Events
    Unit - A unit Acquires an item
    Conditions
    (Item-type of (Item being manipulated)) Equal to Resep Cakar Jendral Mutan
    Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Cakar Mutan ) Equal to True
    ((Triggering unit) has an item of type Palu Besi) Equal to True
    ((Triggering unit) has an item of type Sarung Tangan Prajurit) Equal to True
    Then - Actions
    Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIda\AIdaCaster.mdl
    Special Effect - Destroy (Last created special effect)
    Item - Remove (Item carried by (Triggering unit) of type Cakar Mutan )
    Item - Remove (Item carried by (Triggering unit) of type Palu Besi)
    Item - Remove (Item carried by (Triggering unit) of type Sarung Tangan Prajurit)
    Item - Remove (Item carried by (Triggering unit) of type Resep Cakar Jendral Mutan)
    Hero - Create Cakar Jendral Mutan and give it to (Triggering unit)
    Else - Actions

    gmn ? ..

  2. Hot Ad
  3. #2
    l0git3c's Avatar
    Join Date
    Oct 2006
    Location
    England, Manchester
    Posts
    3,968
    Points
    4,650.70
    Thanks: 0 / 3 / 3

    Default

    Item yang dijadiin resep, jadiin tipenya jadi kek Powerup, pas dibeli langsung dipake, jadi gak membutuhkan inventory.

  4. #3

    Join Date
    Jun 2007
    Location
    asik
    Posts
    122
    Points
    185.80
    Thanks: 4 / 3 / 3

    Question nah

    nah aq jg pingin gitu,ga makan inventory ky powerups,tapi y gitu aq kan masih ga ngerti2 amat masalah trigger yg rumit gitu,bisa tolong di kasih contoh triggernya aja kk logitec?

  5. #4
    l0git3c's Avatar
    Join Date
    Oct 2006
    Location
    England, Manchester
    Posts
    3,968
    Points
    4,650.70
    Thanks: 0 / 3 / 3

    Default

    Wew, triggernya sama kek yg diatas jg bisa itu. Cuman ganti item yang dijual di toko kamu saja. Jadi cuman item-dummy doang.

  6. #5

    Join Date
    Jun 2007
    Location
    asik
    Posts
    122
    Points
    185.80
    Thanks: 4 / 3 / 3

    Default

    terus klo tetep trigger gitu,bisa sih aq coba saran kk logitec,tp itu cuman klo resepnya belinya akhir2,misalnya orangnya beli resepnya dulu sama aja resepnya harus di buang dulu di ambil lg baru jd,,terus btw klo pake cara kk logitec klo misal ga pake resep gmn,jd misal resep "C" membutuhkan barang "A" & "B" tidak membutuhkan resep "C" kan ga bisa langsung jadi juga itu... gmn ?

  7. #6
    l0git3c's Avatar
    Join Date
    Oct 2006
    Location
    England, Manchester
    Posts
    3,968
    Points
    4,650.70
    Thanks: 0 / 3 / 3

    Default

    Wah, itu kalo ga salah sih, di condition-nya, masukkin semua barang yang dibutuhin di condition yang pertama

    Yang ini,
    Events
    Unit - A unit Acquires an item
    Conditions
    (Item-type of (Item being manipulated)) Equal to Resep Cakar Jendral Mutan
    Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Cakar Mutan ) Equal to True
    ((Triggering unit) has an item of type Palu Besi) Equal to True
    ((Triggering unit) has an item of type Sarung Tangan Prajurit) Equal to True
    Then - Actions
    Blablabla
    ....
    Yah diatur aja conditionnya, kalo emang gak pake resep, gak usah dipakein resep.

  8. The Following User Says Thank You to l0git3c For This Useful Post:
  9. #7

    Join Date
    Jun 2007
    Location
    asik
    Posts
    122
    Points
    185.80
    Thanks: 4 / 3 / 3

    Default

    nah,udah aq coba yg kk logitec saranin diatas,,tapi kok malah ga bisa jd itemnya,,di drop di ambil lg jg tetep ga bisa jd kk itemnya,jd gmn?

    edit : setelah aq coba" akhirnya bisa,gini triggernya :
    test resep item sepatu penyihir
    Events
    Unit - A unit Acquires an item
    Conditions
    Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    ((Triggering unit) has an item of type Jimat Energi) Equal to True
    ((Triggering unit) has an item of type Sepatu Biasa) Equal to True
    ((Triggering unit) has an item of type Resep Sepatu Penyihir) Equal to True
    Then - Actions
    Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Items\AIda\AIdaCaster.mdl
    Special Effect - Destroy (Last created special effect)
    Item - Remove (Item carried by (Triggering unit) of type Resep Sepatu Penyihir)
    Item - Remove (Item carried by (Triggering unit) of type Jimat Energi)
    Item - Remove (Item carried by (Triggering unit) of type Sepatu Biasa)
    Hero - Create Sepatu Penyihir and give it to (Triggering unit)
    Else - Actions

    jadi conditionnya itu di kosongin biar bisa langsung jd.,buat yg cari trigger item resep bisa lihat disini. thanks to : logit3c
    Last edited by PonGPongZ; 10-01-10 at 08:45.

  10. #8
    l0git3c's Avatar
    Join Date
    Oct 2006
    Location
    England, Manchester
    Posts
    3,968
    Points
    4,650.70
    Thanks: 0 / 3 / 3

    Default

    Wakaka, oh iy, diilangin aja ternyata.

Posting Permissions

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