| 04-07-2004, 04:56 AM | #1 |
I just created a save trigger for my game it works great to save you select your character type -save and the code is generated. However I have run into a problem you can also click someone whos not on your team blue for example and save their character. What is the directive to dictate that the unit must be the same color as the triggering player? I can't seem to find it. ^_^ |
| 04-07-2004, 08:26 PM | #2 |
Easy enough ^_^ You just want triggering unit. Put this under the conditions: owner of(triggering unit) equal to (triggering player) assuming your using player selects a unit. |
| 04-07-2004, 11:01 PM | #3 | |
Quote:
Thanks that works more efficently then my solution (Owner of (Picked unit)) Equal to Player 1 (Red) by which I needed to make tons of if than statements to save myself from creating a new trigger for each player. :D |
