HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Chat teleport trigger.

11-22-2002, 07:08 PM#1
Guest
Hello I need help.

I want to make a trigger that when a player types "whaterver" it will teleport all of their units to a certain area.

Then I want to make a variation of that. When a player types "Whatever2" and they have a unit(any unit owned by them) in a certain region it will teleport the unit (the one in a certain region) to another region. Any idea how to do this?

I've done

action: player says "whatever2"
condition: blank
If a SPECIFIC unit is in x region then move unit to y region else do nothing.

However that only works for specific units. I want all units of that player.

Oh one more question. How would I move all units of a certain team?
11-22-2002, 07:46 PM#2
Milkman
hm, you could do this with several triggers like this:

-Player types whatever
-If specific unit is in region x then move unit yo region y else do nothing
-Run trigger 2

-Pick all units in region z and do action move all units in region z to region x

the last one should be easy unit enters region playable maparea
condtion entering unit equalkt to owned by player x
pick all units owned by player Z and move to region Y
11-22-2002, 08:10 PM#3
Guest
Thanks, really helped a bunch.