can u guys help? I need to know how to get a unit back to a location after a battle.
since its random, i need it to go to the location it stepped on. How do you do that?does it have anything todo with switches?
You can use the action "Move Location" to put a location on the player's unit when a battle starts. When the battle ends, just move the unit back to that location.
Ok well firstly you need a move location
Player X (whichever is bein teleported)
Condition
Switch 1 is cleared (cleared meaning it is out of the battle)
Action
Move Location called 'follow unit' on (unit u want to teleport out of battle) owned by Player X at Anywhere
Preserve trigger
Condition
Battle start, he could be walking to a door to go into the battle arena, I dunno whatever you've got it as.
Action
Set Switch 1 (now that it is set the move location no longer follows the unit)
Move unit to location "battlefield"
Ok now your unit is in the battle fighting lalala lets assume he wins...
Condition
Whatever you want when he wins
Action
Move unit to location 'follow unit'
clear switch 1 (now it continues to follow the unit around until it is time for the next battle)
You should use preserve trigger on the last two triggers but it would depend on the nature of the condition, otherwise that same stuff would keep happening over and over.
Anyway I hope I've helped you out just ask again if you still need help.
Probably an easier way lol but meh im tired.
QUOTE(OhManTfe @ Nov 14 2006, 08:50 AM)
Ok well firstly you need a move location
Player X (whichever is bein teleported)
Condition
Switch 1 is cleared (cleared meaning it is out of the battle)
Action
Move Location called 'follow unit' on (unit u want to teleport out of battle) owned by Player X at Anywhere
Preserve trigger
Condition
Battle start, he could be walking to a door to go into the battle arena, I dunno whatever you've got it as.
Action
Set Switch 1 (now that it is set the move location no longer follows the unit)
Move unit to location "battlefield"
Ok now your unit is in the battle fighting lalala lets assume he wins...
Condition
Whatever you want when he wins
Action
Move unit to location 'follow unit'
clear switch 1 (now it continues to follow the unit around until it is time for the next battle)
You should use preserve trigger on the last two triggers but it would depend on the nature of the condition, otherwise that same stuff would keep happening over and over.
Anyway I hope I've helped you out just ask again if you still need help.
Probably an easier way lol but meh im tired.
[right][snapback]589001[/snapback][/right]
thanks. That helped me alot. I'm not being sarcastic either. WEll, this topics done with until i find another probem.
There is no need to constantly move the location to the unit. It only need to be done when a battle starts. The first trigger and the use of a switch are completely unnecessary.
If you want an example, one of the maps in my signature, "1S3S3F7E", is unprotected and has a system similar to what you are describing. When one player destroys another player's fighter, there's a 50% chance of both players being moved to an arena area, where close combat occurs. Once close combat has been resolved, the surviving fighter is moved back to its original location.