- Joined
- May 20, 2009
- Messages
- 822
i need help with a trigger I'm working on for i royally suck ass at triggering\JASS etc. this trigger is suppose to limit the amount of hero's of a specific hero you clicked on, here is what i have:
Event:
Unit - Altar of Vengance 0017 <gen> Begins training a unit
Action:
Player - Make (Unit-type of (Picked unit)) Unavailable for training/construction by (Owner of Altar of Vengance 0017 <gen>)
and then i also have this to re-add the button if possibly someone cancels the hero summoning:
Event:
Unit - Altar of Vengance 0017 <gen> Cancels training a unit
Action:
Player - Make (Unit-type of (Picked unit)) Available for training/construction by (Owner of Altar of Vengance 0017 <gen>)
Can anyone tell me what i am doing wrong???
Event:
Unit - Altar of Vengance 0017 <gen> Begins training a unit
Action:
Player - Make (Unit-type of (Picked unit)) Unavailable for training/construction by (Owner of Altar of Vengance 0017 <gen>)
and then i also have this to re-add the button if possibly someone cancels the hero summoning:
Event:
Unit - Altar of Vengance 0017 <gen> Cancels training a unit
Action:
Player - Make (Unit-type of (Picked unit)) Available for training/construction by (Owner of Altar of Vengance 0017 <gen>)
Can anyone tell me what i am doing wrong???