- Joined
- Feb 27, 2009
- Messages
- 115
Here is my problem:
When the game ends, I want the hero with the highest score to be plucked and transported to their pedestal.
How do I do this?
The way how I am going at it is to create a Player Group based on the player on top in the leaderboard. Then I move all the player's units on to the pedestal.
I do not know how to pick the single hero from the group. So while the hero gets transported correctly, any mercenaries get put on the pedestal as do spawns, as do spawned buildings. It is a mess!
Anyone know how to pluck the hero from a player group of units? Or does anyone have an idea of how to trigger the winning hero to be placed on the pedestal in some other way?
When the game ends, I want the hero with the highest score to be plucked and transported to their pedestal.
How do I do this?
The way how I am going at it is to create a Player Group based on the player on top in the leaderboard. Then I move all the player's units on to the pedestal.
I do not know how to pick the single hero from the group. So while the hero gets transported correctly, any mercenaries get put on the pedestal as do spawns, as do spawned buildings. It is a mess!
Anyone know how to pluck the hero from a player group of units? Or does anyone have an idea of how to trigger the winning hero to be placed on the pedestal in some other way?