HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

more trigger help

04-28-2003, 12:15 AM#1
SkylineGT[FB]
another trigger that i need help on is this: ok, there is 8 hero units in a region. one belonging to each player 1-8. there is 4 rings with 2 regions in each. then there is a trigger that randomly selects a unit and puts that unit in a region. so now the 8 heros r randomly moved to a region in one of the rings. but now this is were i need help. how do i move the camra view for player one to his hero, and player 2 camra to his hero and all the way up to 8?
04-28-2003, 02:07 AM#2
666bong666
lol :) ur gonna think you stupid when i tell u this kuz u know the answer....at begginning of the randomly moving trigger...before anything else...lock camerca for every player on their hero...when they get to the region...just unlock :)
04-28-2003, 04:09 AM#3
DaKaN
for each integer a 1 to 8 do Camera - Pan camera to postion of unit (Hero[Integer A]) for player(Integer A) over 0 seconds

just asign the randomly picked unit to Hero[1] then Hero[2] and so on, then you run that loop
04-29-2003, 12:56 AM#4
SkylineGT[FB]
hmm... what one to do?

Dakan, how do i do the underlined part?
for each integer a 1 to 8 do Camera - Pan camera to postion of unit (Hero[Integer A]) for player(Integer A) over 0 seconds
04-30-2003, 01:47 AM#5
SkylineGT[FB]
hey, i still dont know how to get this trigger:
for each integer a 1 to 8 do Camera - Pan camera to postion of unit (Hero[Integer A]) for player(Integer A) over 0 seconds
04-30-2003, 01:57 AM#6
DaKaN
make a unit varible, call it Hero

then you set the heores = to a spot in the unit array Hero[number]
04-30-2003, 07:49 PM#7
Swamp(KZ)
plan wow... that is all i got to say but this... are you a newbie to map making because you can learn quickly... There are toturals on map making on web pages and this web page even has lots of them... or you can just read the trigger discription. (dont think im making fun of you im not everyone use to be a newbie) :)
04-30-2003, 10:45 PM#8
SkylineGT[FB]
naw, i have been messing around with triggers for a while. but im not that good with variables.

Quote:
Dakan
just asign the randomly picked unit to Hero[1] then Hero[2] and so on, then you run that loop
04-30-2003, 11:40 PM#9
Swamp(KZ)
yeah it took me a wile to learn variables but you need them in all great maps :) if you need help just say!
04-30-2003, 11:57 PM#10
SkylineGT[FB]
well then, maybe u can tell me how to do this trigger
05-01-2003, 05:09 PM#11
Swamp(KZ)
what do you need? to make the camera move cause that was already posted above!
05-01-2003, 10:08 PM#12
SkylineGT[FB]
yea i know but its kinda not working right...
05-02-2003, 10:31 PM#13
Swamp(KZ)
what is the trigger right now... post it so i can c what u r doing u need to explin little more please! :)
05-03-2003, 12:48 AM#14
SkylineGT[FB]
hmm, i thought that i posted a pic of THIS trig, but i must have been another one. so here it is:
05-03-2003, 05:13 AM#15
Dead-Inside
UHM...

That makes it so that all players heros must die at the same time to trigger...