Warcraft III resources & community, 2003–2006 · archived

Way to make spawn triggers easier?

6 posts
#1

Way to make spawn triggers easier?

Ok, im making a map, and if a unit Controlled by player X is in region X then make it spawn X unit at Base X, for Player X, But if a unit controlled by player Y is in region X, then spawn X unit at base Y for player Y.

What i want is if theres a way to do that, spawn same unit, at differenct location for different player, without having to make 1 by 1 triggers.
#2
create a region array, so you can have the units created in Region [Playe Number(Triggering Player)]
#3
how exactly do i do that? pls step by step, or screenshots, im such a noob...
well at variables i am
#4
Variables

(yourname)

Region

Array - Size 11

(now, in ur init trigger)

set (yourname)[0] = (yourrect)

and so on
#5
i think i know what you mean...but im sorta lost, ill try around
#6
ok i dont know what you mean....more in depth help?