| 09-02-2004, 03:07 AM | #1 |
Ok I have this trigger. What I want to happen on level 10 (variable level=9; starting from 0) is there will be a boss Cinematic scene before he comes down to fight. Heres my trigger... Code:
Boss 1
Events
Unit - A unit owned by Player 11 (Dark Green) Dies
Conditions
(Number of living Unit_Types[Level] units owned by Player 11 (Dark Green)) Equal to 0
(Number of living Spiderling (Level 9) units owned by Player 11 (Dark Green)) Equal to 0
Level Greater than or equal to 9
Actions
Set Initcomplete = 0
Countdown Timer - Hide Timer_Window
Wait 7.00 seconds
Cinematic - Disable user control for (All players)
Unit - Create 1 Tauren (Boss) (Level 10) for Player 11 (Dark Green) at (Center of Unit Spawn 02 <gen>) facing (Center X of Middle <gen>) degrees
Cinematic - Turn cinematic mode On for (All players)
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Owner of Heros[(Integer A)]) emitting Visibility across Unit Spawn 03 <gen>
Set Boss_Vision[(Integer A)] = (Last created visibility modifier)
Camera - Apply Boss Camera <gen> for (Owner of Heros[(Integer A)]) over 5.00 seconds
Wait 5.00 seconds
Camera - Stop the camera for (Owner of Heros[(Integer A)])
Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Last created unit)
Cinematic - Send transmission to (All players) from (Last created unit) named Boss: Play No sound and display You fools!. Modify duration: Add 5.00 seconds and Wait
Wait 10.00 seconds
Cinematic - Enable user control for (All players)
Cinematic - Turn cinematic mode Off for (All players)
Unit - Order (Last created unit) to Attack-Move To (Center of Middle <gen>)
Trigger - Turn off (This trigger)InitComplete=0 turns off normal spawning triggers What I want is like a 15 second thing for players 1-10 where it pans to the boss. He says You fools! Casts blood lust on him self and starts to come at them. Then the cinematics to end, and the camera to go back to its normal position. If any one has cinematic experiance and feels like giving me some help I would really appriciate it, Thanks. |
| 09-02-2004, 10:33 AM | #2 |
the trigger looks alright, but WTH is this for: Camera - Stop the camera for (Owner of Heros[(Integer A)]) and i think before you change the camera you should save the current camera of the heroes to a camera array and after that apply this camera array to the heroes |
| 09-02-2004, 04:52 PM | #3 |
Woah i took the stop thing out.... and tried what you said or ressetting the camera, but uhhh when i tested it, it created 3 tauren and kept removing and puting back the cinematic display... it was crazy... it said You Fools! 3 times also and he didnt blood lust him self.... camera triggs are so complicated! |
| 09-02-2004, 05:00 PM | #4 |
that's very strange...are you sure the trigger only fires once? |
| 09-02-2004, 05:17 PM | #5 |
ya, i think the loop integer thing messes it up. |
