Here's a few quick examples, nothing too in-depth youll have to adjust the settings according to your map...
QUOTE(Devils_Angel @ Jun 8 2005, 09:26 PM)
I want to know how to make a LOCATION follow the UNIT thats move so it can be sent to the BATTLE ARENA in my rpg. say the unit is called/a "marine" and the location is called "trail" how do u make it follow you so when an enemy enters it they both get sent to the BATTLE ARENA? (enemy gos to location "enter battle arena: enemy" and player gos 2 "enter battle arena: player")
Variables:
InBattle?: 0=No, 1=Yes
If Computer Player brings at least 1 Enemy#1 to 'P1 Location'
Player suffers exactly 0 Deaths of InBattle?
--
Create # of enemy#1 at battle area for computer player
Move human to battle area for current player
Modify deaths for current player set to 1 for InBattle?
Center View at 'battle area'
etc etc etc
Preserve Trigger
Now when you kill the enemies within the Battle Area...
If Computer Player brings exactly 0 Men to 'Battle Area'
Current player suffers exactly 1 death of InBattle?
--
Move hero at Battle area back to 'P1 Location'
Display Text 'Victory!'
Wait(# seconds before player can trigger another battle);
Modify deaths for current player set to 0 for InBattle?
Preserve Trigger
QUOTE(Devils_Angel @ Jun 8 2005, 09:26 PM)
Also, how do i make it so when they kill the enemies in the BATTLE ARENA they get sent back to their location (making the location stay where it is when u fight)
Now for this its rather simple, using in conjunction with the above triggers...
Current player suffers exactly 0 deaths of InBattle?
Current player brings exactly 0 men to Battle Area
--
Center location labeled 'P1 Location' on all Men at Anywhere
Preserve Trigger
Now when you get into a battle, the center location will stop on the world map where it last was before your hero entered the battle area. Because as soon as he enters the battle area it stops centering view on the hero and thus stays in the last spot it was in before you moved over.