- Joined
- Sep 19, 2012
- Messages
- 204
Hey Guys...
I recently started working on a map prototype and for some reason my selfmade Crafting system stopped working for all recipes except one (Gunpowder). The Triggers are practically the same and i cant figure out why it doesnt work. some ideas?
I recently started working on a map prototype and for some reason my selfmade Crafting system stopped working for all recipes except one (Gunpowder). The Triggers are practically the same and i cant figure out why it doesnt work. some ideas?
-
Recipes
-
Events
- Unit - A unit Begins casting an ability
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Crafting Station
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Tools) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Wood) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Greater than or equal to 10
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Stone) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Greater than or equal to 10
-
Conditions
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Wood) to ((Charges remaining in (Item carried by (Triggering unit) of type Wood)) - 10)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Stone) to ((Charges remaining in (Item carried by (Triggering unit) of type Stone)) - 10)
- Hero - Create Crafting Station and give it to (Triggering unit)
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Sound - Play Craftingsound <gen> at 100.00% volume, attached to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Wood)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Stone)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Storage
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Stone) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Greater than or equal to 10
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Wood) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Greater than or equal to 5
-
Conditions
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Stone) to ((Charges remaining in (Item carried by (Triggering unit) of type Stone)) - 10)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Wood) to ((Charges remaining in (Item carried by (Triggering unit) of type Wood)) - 5)
- Hero - Create Storage and give it to (Triggering unit)
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Sound - Play Craftingsound <gen> at 100.00% volume, attached to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Stone)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Wood)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Windmill
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Stone Blocks) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Stone Blocks)) Greater than or equal to 10
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Wood) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Greater than or equal to 5
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Wooden Planks) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Wooden Planks)) Greater than or equal to 4
-
Conditions
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Wood) to ((Charges remaining in (Item carried by (Triggering unit) of type Wood)) - 5)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Stone Blocks) to ((Charges remaining in (Item carried by (Triggering unit) of type Stone Blocks)) - 10)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Wooden Planks) to ((Charges remaining in (Item carried by (Triggering unit) of type Wooden Planks)) - 4)
- Hero - Create Windmill and give it to (Triggering unit)
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Sound - Play Craftingsound <gen> at 100.00% volume, attached to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Wood)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Wood)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Stone Blocks)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Stone Blocks)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Wooden Planks)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Wooden Planks)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Gunpowder
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Coal) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Coal)) Greater than or equal to 5
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Stone) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Greater than or equal to 5
-
Conditions
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Coal) to ((Charges remaining in (Item carried by (Triggering unit) of type Coal)) - 5)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Stone) to ((Charges remaining in (Item carried by (Triggering unit) of type Stone)) - 5)
- Hero - Create Gun Powder and give it to (Triggering unit)
- Item - Set charges remaining in (Last created item) to 5
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Sound - Play Craftingsound <gen> at 100.00% volume, attached to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Coal)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Coal)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Stone)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Stone)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Ammo
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Gun Powder) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Gun Powder)) Greater than or equal to 10
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Triggering unit) has an item of type Iron Plate) Equal to True
- (Charges remaining in (Item carried by (Triggering unit) of type Iron Plate)) Greater than or equal to 5
-
Conditions
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Gun Powder) to ((Charges remaining in (Item carried by (Triggering unit) of type Gun Powder)) - 10)
- Item - Set charges remaining in (Item carried by (Triggering unit) of type Iron Plate) to ((Charges remaining in (Item carried by (Triggering unit) of type Iron Plate)) - 5)
- Hero - Create Ammo and give it to (Triggering unit)
- Item - Set charges remaining in (Last created item) to 5
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Sound - Play Craftingsound <gen> at 100.00% volume, attached to (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Gun Powder)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Gun Powder)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Charges remaining in (Item carried by (Triggering unit) of type Iron Plate)) Equal to 0
-
Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Iron Plate)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: