• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Automated pick new unit after a spell is casted

Status
Not open for further replies.
This is going to be tricky to explain.

I have this map which is inspired by Final Fantasy, especially the battle system of FF VII - FF X where you encounter enemies as you walk around in the world without seeing them. When you get an encounter you get moved to a battle area where you battle whatever enemies the trigger choose.

To my question.

When your characters has been moved I need a system to pick one of the playing characters at first. When that unit casts a spell/uses an ability the game will automatically change character which you can that use another spell/ability with. This will happen for all of the characters in the battle area until all of them has been picked, and then start all over again with the first picked.

While this is happening the characters which are not picked will just auto attack the enemy.
Lastly, you should not be able to pick any of the none automated picked units yourself.

I am not able to do JASS, but I can import it, so please explain anyway if this is possible.

Thanks in advance.
 
Level 21
Joined
Mar 2, 2010
Messages
3,069
should be possible without jass. by placing the characters in a unit group variable then choosing a random character from that group while at the same time removing the character from the group, your system is possible. you will need the player selects a unit event and a condition that say that trigger if the unit is in a different group than those you select randomly from. if there is anything about my explanation you dont understand please tell me to explain it.
 
Status
Not open for further replies.
Top