okay, so im trying to create an condition for the construction of a unit, not hard but i have a twist, i want the construction of a unit to only be available to the Transporting Unit(see below).
This works for making the construction of a unit available for a certain player so that all the units belonging to the player can construct Fire Tower, but i want the construction of Fire Tower to only be available to the Transporting unit. btw im only using standard GUI and i dont care for the leaks and shit, that will be taken care of later.
Trigger:
- Fire Tower Enable
- Events
- Unit - A unit Is loaded into a transport
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Loading unit)) Equal to Fire Element
- Then - Actions
- Special Effect - Create a special effect at (Position of (Transporting unit)) using Objects\Spawnmodels\Human\SmallFlameSpawn\SmallFlameSpawn.mdl
- Player - Make Fire Tower Available for training/construction by Player 1 (Red)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
This works for making the construction of a unit available for a certain player so that all the units belonging to the player can construct Fire Tower, but i want the construction of Fire Tower to only be available to the Transporting unit. btw im only using standard GUI and i dont care for the leaks and shit, that will be taken care of later.