Slayerxx
You can change this now in User CP.
- Reaction score
- 3
Ok so i am making a (Sexiest) ability for my support woman (Tower builder) it is to make a sandwich and depending on the different sandwich it gives the eater different effects. I have the "Sandwich's" as buildings and what i want to happen is that the Woman buys the ingredients (Items) and then goes to build a "sandwich". now i have a trigger to once run removes corresponding ingredients and give the desired sandwich. this is what i have so far and the problem is that i dont know what to have as teh Unit conditions ie Triggering unit, Ordered unit etc.
there is alot to do with this still, i just cant think of how to do it. also once working i am hoping to remove "Changes" on items as ingredients have charges so each sandwich uses 2 slices of bread so 2 charges are removed from "Bread"
Trigger:
- Woman Goes to make a Sandwich
- Events
- Unit - A unit Begins construction
- Conditions
- (Unit-type of (Triggering unit)) Equal to Suport Woman
- Actions
- Game - Display to (All players) the text: (Name of Woman)
- Set Woman = (Triggering unit)
- Set Bread = (Item carried by (Triggering unit) of type Bread)
- Set Cheese = (Item carried by (Triggering unit) of type Cheese)
- Set Ham = (Item carried by (Triggering unit) of type Ham)
- Set Lettuce = (Item carried by (Triggering unit) of type Lettuce)
- Set Tomato = (Item carried by (Triggering unit) of type Tomato)
- Unit - Kill (Constructing structure)
- If ((Unit-type of (Constructing structure)) Equal to Tasty Sandwich) then do (Trigger - Run Tasty Sandwich <gen> (checking conditions)) else do (Do nothing)
- If ((Unit-type of (Constructing structure)) Equal to Frozen Sandwich) then do (Trigger - Run Frozen Sandwich <gen> (checking conditions)) else do (Do nothing)
- If ((Unit-type of (Constructing structure)) Equal to Flaming Sandwich) then do (Trigger - Run Flaming Sandwich <gen> (checking conditions)) else do (Do nothing)
- If ((Unit-type of (Constructing structure)) Equal to Shadow Sandwich) then do (Trigger - Run Shadow Sandwich <gen> (checking conditions)) else do (Do nothing)
- Events
there is alot to do with this still, i just cant think of how to do it. also once working i am hoping to remove "Changes" on items as ingredients have charges so each sandwich uses 2 slices of bread so 2 charges are removed from "Bread"