So, I'm making a new map, and I'm generally good at triggering. However, a few 'roadblocks' have run into me, and my 'crafting' system. Here's my trigger.
Events
- Unit - [Unit's Name] Begins casting an ability
Conditions
- (Ability being cast) Equal to [Spell Name]
- (Item carried by [Unit] in slot 1) Equal to (Item Carried by [Unit] of type [Item
- (Item carried by [Unit] in slot 2) Equal to (Item Carried by [Unit] of type [Item
- (Item carried by [Unit] in slot 1) Not equal to No Item
- (Item carried by [Unit] in slot 2) Not equal to No Item
Actions
- Item - Create [Item] at (Position of Unit)
- Item - Remove (Item carried by [Unit] in slot 1)
- Item - Remove (Item carried by [Unit] in slot 2)
So, the problem is, I'd like it to be shortened so it uses only ONE ability. I have a bunch of other triggers that all use abilities to craft a specific item, and it's troubling me. Repeating myself, I'm generally good at triggering, but in my opinion, 'crafting' has ALWAYS been one of those 'impossible to reach' triggers. I do not use Jass, either.
Events
- Unit - [Unit's Name] Begins casting an ability
Conditions
- (Ability being cast) Equal to [Spell Name]
- (Item carried by [Unit] in slot 1) Equal to (Item Carried by [Unit] of type [Item
- (Item carried by [Unit] in slot 2) Equal to (Item Carried by [Unit] of type [Item
- (Item carried by [Unit] in slot 1) Not equal to No Item
- (Item carried by [Unit] in slot 2) Not equal to No Item
Actions
- Item - Create [Item] at (Position of Unit)
- Item - Remove (Item carried by [Unit] in slot 1)
- Item - Remove (Item carried by [Unit] in slot 2)
So, the problem is, I'd like it to be shortened so it uses only ONE ability. I have a bunch of other triggers that all use abilities to craft a specific item, and it's troubling me. Repeating myself, I'm generally good at triggering, but in my opinion, 'crafting' has ALWAYS been one of those 'impossible to reach' triggers. I do not use Jass, either.