- Joined
- Sep 8, 2004
- Messages
- 633
[RESOLVED]Changing the target of "Order targeting an Object".
EDIT: RESOLVED - Had the order pointed back at the initial target after an order "stop". Apparently the game doesn't like that. Setting it to another new target fixed the matter.
I'm trying to create a system that - through the use of dummy units - allows players to see the current HP and mana of their allies.
The dummy units are heroes, so they can be seen at the left side of the screen. Synchronizing the HP/Mana wasn't at all difficult. The next part, however, is.
Since the map is very team-based, many heroes have healing abilities and buffs that can also be cast on others. My plan was to use the same "party" system for that. When a hero would get the order to cast "anything" on the dummy unit, I want to have it cast on the corresponding allied hero instead.
I happily started making this, using GUI, but got stuck! I stored the order in variable, but found that it's not possible to retrieve this order using "Unit - Issue order targeting a Unit".
I can only use some preset orders, not the variable.
Who knows how to create this?
EDIT: RESOLVED - Had the order pointed back at the initial target after an order "stop". Apparently the game doesn't like that. Setting it to another new target fixed the matter.
I'm trying to create a system that - through the use of dummy units - allows players to see the current HP and mana of their allies.
The dummy units are heroes, so they can be seen at the left side of the screen. Synchronizing the HP/Mana wasn't at all difficult. The next part, however, is.
Since the map is very team-based, many heroes have healing abilities and buffs that can also be cast on others. My plan was to use the same "party" system for that. When a hero would get the order to cast "anything" on the dummy unit, I want to have it cast on the corresponding allied hero instead.
I happily started making this, using GUI, but got stuck! I stored the order in variable, but found that it's not possible to retrieve this order using "Unit - Issue order targeting a Unit".
I can only use some preset orders, not the variable.
Who knows how to create this?
Last edited: