- Joined
- Feb 23, 2010
- Messages
- 227
Hello Guys/Gals,
EDIT: Right Now I set it to have all the regions as a region array set CPU[CAPTURE INDEX] = RED ZONE
Than for it to create the unit for catchPLAYER at CPU[CAPTURE INDEX] facing random angle
Eh, solved it... Thanks anyway... I guess. (Answer in EDIT)
In my map I'm stuck at a point in an important trigger. (The one below) It sets how many 'Pokemon' are in a specific area, otherwise when captured, it puts them into the 'CPU'. You see where it says 'CPU' in the trigger though? That should somehow work so the Pokemon Caught go to the right players region.
NOTE: Also, this is for a Pokemon Defense I'm making. It's ALOT better than the one already out and requires actual strategy. If you would like to be apart of its development let me know.
NOTE: Also, this is for a Pokemon Defense I'm making. It's ALOT better than the one already out and requires actual strategy. If you would like to be apart of its development let me know.
Event
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Capture
Actions
Set catchPLAYER = (Owner of Triggering Unit))
Set catchTRAINER = (Triggering Unit)
Set catchPOKEMON = (Target unit of ability being cast)
Set CaptureIndex = (Player number of catchPLAYER)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Set catchTRAINER = (Triggering Unit)
Set catchPOKEMON = (Target unit of ability being cast)
Set CaptureIndex = (Player number of catchPLAYER)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PokemonActive[CaptureIndex] Equal to 6
Then - Actions
Unit - Create 1 (Unit-type of catchPOKEMON) for catchPLAYER at CPU facing Default building degrees
Else - Actions
Set PokemonActive[CaptureIndex] = (PokemonActive[CapureIndex] + 1)
Unit- Create 1 (Unit-type of catchPOKEMON) for catchPLAYER at (catchPLAYER start location) facing Default building degrees
Unit- Create 1 (Unit-type of catchPOKEMON) for catchPLAYER at (catchPLAYER start location) facing Default building degrees
EDIT: Right Now I set it to have all the regions as a region array set CPU[CAPTURE INDEX] = RED ZONE
Than for it to create the unit for catchPLAYER at CPU[CAPTURE INDEX] facing random angle
Eh, solved it... Thanks anyway... I guess. (Answer in EDIT)
Last edited: