| 01-06-2004, 08:34 PM | #1 |
Well im making a map/movie its requireing the player to own/build 12 grunts and 12 headhunters...how would i get the cinematics to start based on the player having these 12 grunts and 12 headhunters??? PLZ HELP!!! |
| 01-07-2004, 07:22 PM | #2 |
Event- Every .10 secs of game Conditions Count units in unit group equal to 12 Count units in unit group equal to 12 Actions Run Trigger (Cinematic) that should work.:D |
| 01-07-2004, 08:27 PM | #3 |
yea but how would it know that they are headhunters or grunts...you could use and 12 units then..thats what im going at or would the "units" be what i would tell them to be?? Haw...nvm i got..thanks..you lead me in the right direction..it was: Event - Every .10 seconds Condition - (Number of living GRUNT units owned by Player 1 (Red)) Greater or Equal to 12 (Number of living HEADHUNTER units owned by Player 1 (Red)) Greater or Equal to 12 Action - Turn on Cine Orc 02 well thxs Zurg |
| 01-08-2004, 03:14 PM | #4 |
Another easy one would be to have 2 integer variables, say Grunt and Troll. Whenever Player finishes building a unit type grunt, set variable grunt+1=grunt. If grunt=12 and troll=12, do cinematic. That could reduce lag that having the game constantly checking might cause on slower computers. |
| 01-08-2004, 07:36 PM | #5 | |
Quote:
You'd have to make it do grunt -1 and troll -1 when a grunt or troll unit died though. But that would a more effective method. |
| 01-09-2004, 01:10 AM | #6 |
nah i got it guys...it doesnt lag at all its a pretty small map..but it could just be my comp.. |
