Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
SpaceOrcCharliePatrol.w3x
Variables
Triggers
Initialize
SpawnUnits
Brief
StartGame
FoundPatrol
FinishPatrol
Death
DiscoverQuest
QuestPart1
QuestFinished
CreateQuest
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
ded
group
No
QuestMain
quest
No
QuestMainReq1
questitem
No
QuestMainReq2
questitem
No
UnitGroup
group
No
Initialize
Events
Map initialization
Conditions
Actions
Player - Disable sleeping for all creeps
Trigger - Run CreateQuest <gen> (checking conditions)
Trigger - Run SpawnUnits <gen> (checking conditions)
SpawnUnits
Events
Conditions
Actions
Environment - Set sky to Blizzard Sky
Cinematic - Turn cinematic mode On for (All players)
Camera - . Apply . gg_cam_Entrance for Player 1 (Red) over 0 seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Unit - Create 5 . Grunt for Player 1 (Red) at (Player 1 (Red) start location) facing 0.00 degrees
Unit Group - Add all units of (Last created unit group) to UnitGroup
Unit - Create 3 . Rocketeer for Player 1 (Red) at (Player 1 (Red) start location) facing 0.00 degrees
Unit Group - Add all units of (Last created unit group) to UnitGroup
Unit - Create 1 . Medic for Player 1 (Red) at (Player 1 (Red) start location) facing 0.00 degrees
Unit Group - Add (Last created unit) to UnitGroup
Unit Group - Order UnitGroup to Move To . (Center of OrderZone <gen>)
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Charlie company, this is HQ. A patrol nearby radioed in a mayday and we want you to check it out. . Modify duration: Add 5.00 seconds and Don't wait
Wait 3.50 game-time seconds
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Camera - . Apply . gg_cam_Entrance_2 for Player 1 (Red) over 0 seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2.00 game-time seconds
Trigger - Run Brief <gen> (checking conditions)
Brief
Events
Conditions
Actions
Wait 4.00 game-time seconds
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Unit Group - Remove all units from UnitGroup .
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to UnitGroup
Unit - Hide (Picked unit)
Camera - . Apply . gg_cam_Waterfall for Player 1 (Red) over 0 seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Their last reported position was near a hill north of your position. . Modify duration: Add 2.00 seconds and Wait
Wait 2.00 game-time seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Find our boys and bring 'em home. . Modify duration: Add 0 seconds and Wait
Wait 2.00 game-time seconds
Trigger - Run StartGame <gen> (checking conditions)
StartGame
Events
Conditions
Actions
Unit - Create a permanent Fleshy Grunt corpse for Player 1 (Red) at (Center of Dead_Patrol_1 <gen>) facing (Random angle) degrees
Unit Group - Add (Last created unit) to ded
Unit - Create a permanent Fleshy Rocketeer corpse for Player 1 (Red) at (Center of Dead_Patrol_2 <gen>) facing (Random angle) degrees
Unit Group - Add (Last created unit) to ded
Unit - Create a permanent Fleshy Grunt corpse for Player 1 (Red) at (Center of Dead_Patrol_3 <gen>) facing (Random angle) degrees
Unit Group - Add (Last created unit) to ded
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Unit Group - Pick every unit in UnitGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in ded.) Equal to False
Then - Actions
Unit - Unhide (Picked unit)
Else - Actions
Environment - Set sky to None
Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
Camera - Pan camera for Player 1 (Red) to (Center of OrderZone <gen>) over 0 seconds
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Trigger - Run DiscoverQuest <gen> (checking conditions)
FoundPatrol
Events
Unit - A unit enters PatrolFound <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Cinematic - Fade out over 2 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2 game-time seconds
Unit - Pause all units
Trigger - Turn on FinishPatrol <gen>
Unit Group - Remove all units from UnitGroup .
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in ded.) Equal to False
Then - Actions
Unit Group - Add (Picked unit) to UnitGroup
Unit - Hide (Picked unit)
Else - Actions
Cinematic - Turn cinematic mode On for (All players)
Camera - . Apply . gg_cam_Back_Corner for Player 1 (Red) over 0 seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Unit - Create 1 . Grunt for Player 1 (Red) at (Center of PatrolFound <gen>) facing 90.00 degrees
Unit - Order (Last created unit) to Move To . (Center of Stand <gen>)
Wait 5.00 game-time seconds
Cinematic - Send transmission to (All players) from (Last created unit) named Grunt : Play No sound and display They're dead... . Modify duration: Subtract 2.00 seconds and Wait
Wait 3.00 game-time seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Roger that Charlie company... Finish your patrol. We will see you on base. . Modify duration: Add 8.00 seconds and Wait
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2.00 game-time seconds
Unit - Remove (Last created unit) from the game
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
Cinematic - Turn cinematic mode Off for (All players)
Unit Group - Pick every unit in UnitGroup and do (Actions)
Loop - Actions
Unit - Unhide (Picked unit)
Unit - Unpause all units
Trigger - Run QuestPart1 <gen> (checking conditions)
FinishPatrol
Events
Unit - A unit enters FinishPatrol <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Trigger - Run QuestFinished <gen> (checking conditions)
Death
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Number of units in (Units owned by Player 1 (Red) matching (((Matching unit) is alive) Equal to True).)) Less than or equal to 0
Actions
Quest - Mark QuestMain as Failed
Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST FAILED|rComplete Patrol
Sound - Play QuestFailed <gen>
Wait 5.00 game-time seconds
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Environment - Set sky to Blizzard Sky
Cinematic - Turn cinematic mode On for (All players)
Camera - . Apply . gg_cam_Walkway for Player 1 (Red) over 0 seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2.00 game-time seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Charlie company! Come in Charlie company! . Modify duration: Add 6.00 seconds and Wait
Wait 4.00 game-time seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rocketeer named Command at (Player 1 (Red) start location) : Play No sound and display Charlie company... Please respond... . Modify duration: Add 4.00 seconds and Wait
Cinematic - Fade out over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.50 game-time seconds
Cinematic - Fade in over 0.50 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
Cinematic - Turn cinematic mode Off for (All players)
Game - Defeat Player 1 (Red) with the message: Defeat!
DiscoverQuest
Events
Conditions
Actions
Quest - Mark QuestMain as Discovered
Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rComplete Patrol - Locate missing patrol - Complete Charlie company's patrol
Quest - Flash the quest dialog button
Sound - Play QuestNew <gen>
Cinematic - Ping minimap for (All players) at (Center of PatrolFound <gen>) for 3.00 seconds
QuestPart1
Events
Conditions
Actions
Quest - Mark QuestMainReq1 as Completed
Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST UPDATE|rComplete Patrol|cff666666 - Locate missing patrol (completed)|r - Complete Charlie company's patrol
Quest - Flash the quest dialog button
Sound - Play QuestLog <gen>
Cinematic - Ping minimap for (All players) at (Center of FinishPatrol <gen>) for 3.00 seconds
QuestFinished
Events
Conditions
Actions
Quest - Mark QuestMainReq2 as Completed
Quest - Mark QuestMain as Completed
Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rComplete Patrol
Sound - Play QuestCompleted <gen>
Cinematic - Fade out over 5.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 5.00 game-time seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
CreateQuest
Events
Conditions
Actions
Trigger - Turn off (This trigger)
Quest - Create a Required, undiscovered quest titled Complete Patrol with the description Charlie company is on another patrol when Command calls.Another patrol in the area has failed to report in and you are to check into the matter. After accomplishing this you must complete your own patrol. , using icon path ReplaceableTextures\CommandButtons\BTNMove.blp
Set Variable Set QuestMain = (Last created quest)
Quest - Create a quest requirement for (Last created quest) with the description Locate the missing patrol
Set Variable Set QuestMainReq1 = (Last created quest requirement)
Quest - Create a quest requirement for (Last created quest) with the description Complete Charlie company's patrol
Set Variable Set QuestMainReq2 = (Last created quest requirement)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.