- Joined
- Aug 1, 2008
- Messages
- 453
I have 2 questions.
1. How do i make it so a player cannot select a unit?
2. How do i check if a unit finish's "Upgrade To", and how would i make a condition that checks what the unit "Upgrades To"
EXAMPLE) Unit A - Can Upgrade To: Unit B, Unit C, Unit D
If Unit A, upgrades to Unit B: Give triggering Player 150 gold
If Unit A, Upgrades to Unit C: Give triggering Player 200 gold
And so on.
Sidenote: I am not trying to do that action. It's just the condition part. Will +REP if helped.
1. How do i make it so a player cannot select a unit?
2. How do i check if a unit finish's "Upgrade To", and how would i make a condition that checks what the unit "Upgrades To"
EXAMPLE) Unit A - Can Upgrade To: Unit B, Unit C, Unit D
If Unit A, upgrades to Unit B: Give triggering Player 150 gold
If Unit A, Upgrades to Unit C: Give triggering Player 200 gold
And so on.
Sidenote: I am not trying to do that action. It's just the condition part. Will +REP if helped.