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 ? ..
Share This Thread