Question on how to do this trigger. Help plz

-RedBallz-

BattleForums Newbie
Joined
Apr 13, 2009
Messages
14
Reaction score
0
Ok hears a trigger i want to know how to do.

So. Basically, i want ALL the units in the map (Owned by Player Red) to move instantly to (Region 001).
Just to be clear. i want ALL the units in the map owned by player red to go to a region.
i think u neeed a variable or something.
i fail at this i tried this and it didn't work.

i thought it was that simple but it didn't work.
-----------------------------------------------
Event:
Time Elapsed 30 Seconds.
Conditions

Actions:
Unit Group - Pick Every Unit In(Region 001 owned by Player Red) and do (Move (Triggering Unit) instantly to (Region 002)..
---------------------------------------------------
it didn't work but if sum1 know how to do. Please help me :)

Thank you very much if you know how and showed me.
i will come back to this thread everyday to see :D
Good Luck.
:mad2:
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
Trigger
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Set redunits = (Units in (Playable map area) owned by Player 1 (Red))
Unit Group - Pick every unit in redunits and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Point(0.00, 0.00))
Custom script: call DestroyGroup (udg_redunits)

Change "redunits" to whatever you name your Unit Group Global Variable. Replace the coordinates with the coordinates of your region. This is so the trigger is leak free.

But if you don't care about leaks, then all you need to do is change your "Triggering Unit" to "Picked Unit".
 

-RedBallz-

BattleForums Newbie
Joined
Apr 13, 2009
Messages
14
Reaction score
0
LOl tyvm! :) i hope it works. im gonna try it now :D

wait one question.
do i tick array?

Do i do
Set Unit[1] =(Units in(Playable Map Area) Owned by Player (Red))

and for blue
Do i do
Set Unit[2] = ye?
and then do teh loop actions?


EDIT:
Another Question

How to make it so dat
All PLayers remove fog from a region. so like u only get vision of a region.
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
Either or works, but if you're doing it with an array you have to change "call DestroyGroup (udg_redunits)" to "call DestroyGroup (udg_redunits[1])"

and the [1] to whatever index is needing to be destroyed.

Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across <Region>
 

-RedBallz-

BattleForums Newbie
Joined
Apr 13, 2009
Messages
14
Reaction score
0
Need Help On Another Trigger!(Harder)

TYVM For ut help Octopor

I have Another question on a trigger...its harder den the others.

If any1 knows how to do plz help me.
if u can't den ye.

Question:
How to make it so that.
I want to make a 1on1 Battle Arena, and each player chosen to the arena will be at random.
And when the winner of the arena has killed the other player. They will be sent back. And then the next 2 players will fight. But the Winner Of The previouse round will go to another place, and won't be able to fight agen until or rounds are done. If you can't do the last question just leave it out xD which was "But the Winner Of The previouse round will go to another place, and won't be able to fight agen until or rounds are done"

It seems pretty hard to me but if u do know a LINK to a thread or video dat can teach u how to do dis plz. OR if u know a map with dis trigger can u plz try and gimmie the trigger.

If u can't do dis den :p.



How the heroes are chosen:
Another thing.
The Hero Chosen will be like out off 15. You don't get a specific hero. So ye. You will get a wisp and enter a circle of power to receive the hero. I alrdy know how to do dis trigger. JUST saying dis coz it might help in the above trigger xD.
NOTE: I KNOW HOW TO DO DIS TRIGGER ABOVE XD


If you can plz help me with the 1on1 arena thing i will be very thankful.
If u dunno cna u plz link me with sumthing dat can help. xD if not den dont worry xD
 

NewPosts

New threads

Top