HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Map hel needed

02-07-2003, 12:17 AM#1
kil-jadeen
im making a map like most campaign begginings (build 5 footman and win) but i dont know how to set that as trigger or how if captin dies or buildings are destroyed plaer loses. can someone help?
02-07-2003, 12:28 AM#2
mikedogdude
Make a trigger that starts as:

Event - Value of real variable: Number of units of type (footman) owned by player 1

For the other one:

Event - Unit event: Unit (Hero or whatever unit) dies
02-07-2003, 12:30 AM#3
kil-jadeen
thx um that was quicker than i thought I also need to know how to work AI script and a camera scene for cinematics with cpatin moving around talking. thx
02-07-2003, 12:35 AM#4
kil-jadeen
im having problems wont let me press ok i go what you said then go to unit group then ok then the other ok is grayed out.
02-07-2003, 12:38 AM#5
mikedogdude
Well, that could take awhile to explain.
Basically, create the cameras on the pallette,
make a trigger that turns on cinematic mode,
apply the camera objects
(whichever camera u want to use)
Use triggers to issue orders to dif regions
order the captain to do what ever,
send transmissions frum the units
and make sure u end cinematic mode
the best way is to just play around with
the triggers until u get it or look at another map
02-07-2003, 12:45 AM#6
mikedogdude
Sorry, i dint have the editor open and i thought u could do that. 1 sec and ill figure it out.

Ok do this:

Event: every 5 second of the game
Condition:Integer comparison: Number of units owned by player 1 in region (playable map area) of type (footman?) Equal to 5
Actions: Whatever you want