- Joined
- Aug 23, 2008
- Messages
- 2,319
I've got 2 arrayed unit Variables.
Character with 12 arrays (Indicates the characters in the game you can control)
BattleUnit with 4 arrays (These are 4 units from Character that you take along into battle)
The BattleUnit arrays can be changed by the player in-game at any time. So BattleUnit[1] can be Character[5], BattleUnit[2] can be Character[12], BattleUnit[3] can be Character[7] and BattleUnit[4] can be Character[2].
The problem is: When I add a statistic like 'Annoyed[2] equal to True' (It means BattleUnit[2] is annoyed by the problem I'm telling you about now ), It's easy to attach it to BattleUnit[2]. But at the moment BattleUnit[2] switches with another BattleUnit or goes from Character[12] to Character[3], I need to make the Annoyed statistic to stay with Character[12] instead of BattleUnit[2].
Does anybody know how I could do this?
Character with 12 arrays (Indicates the characters in the game you can control)
BattleUnit with 4 arrays (These are 4 units from Character that you take along into battle)
The BattleUnit arrays can be changed by the player in-game at any time. So BattleUnit[1] can be Character[5], BattleUnit[2] can be Character[12], BattleUnit[3] can be Character[7] and BattleUnit[4] can be Character[2].
The problem is: When I add a statistic like 'Annoyed[2] equal to True' (It means BattleUnit[2] is annoyed by the problem I'm telling you about now ), It's easy to attach it to BattleUnit[2]. But at the moment BattleUnit[2] switches with another BattleUnit or goes from Character[12] to Character[3], I need to make the Annoyed statistic to stay with Character[12] instead of BattleUnit[2].
Does anybody know how I could do this?