final fantasy style

Status
Not open for further replies.
Level 4
Joined
Jul 24, 2013
Messages
95
hey,how do i make unit come close to unit whateva,then that unit automatically transport to whateva location with boundaris and is force to fight the monster,and will automatically moved back to its original place after whateva second after all the monster has been slain(to have time to pick the item drop by the monster)....i manage to did it but,there's a problem..when the 1st monster is killed,it would automatically move the hereo to its orginal place although there are some mnster left...i think i need to make condition on this...but how?btw i dont want to turn off the trigger,since i want to use the same place multiple times...plz help,....1 rep
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
I did something like that in a map named Gsu'h Will, but the system was pretty heavy and I was a noob back then :) You can use a unit group instead of a region too.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
If you are asking on teleporting allied heroes or players back in world map from the battlefield or battle area, You check if all units owned by the enemy player are dead and if yes, pick every units belonging to the allied players and move them out of the arena.

Mostly as what Spart said, Unit group will do the work! :)
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
1 - When battle starts you save the position of all the players in the "World map".
2 - Move players to Battle Field
3 - Create the monsters and add them to a Unit Group
4 - Every time a monster dies, remove it from the Unit Group it's in and check if number of units in the Unit Group is = 0
5 - if it's = 0, move Players again to their original position in the world map, give the exp, give the items, etc.

In my map I spread the monsters and players through the battle field and created a 1-hit door to reach a small region (Circle of power) where all the players had to stand to return to the World Map, even if there were still monsters around (Like Escaping)
 
Status
Not open for further replies.
Top