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
Sexual Predator.w3x
Variables
Initialization
Untitled Trigger 010
Untitled Trigger 010 Copy
Untitled Trigger 010 Copy 2
Untitled Trigger 010 Copy Copy
---------------------------
Untitled Trigger 001
Untitled Trigger 002
Untitled Trigger 003
Untitled Trigger 003 Copy
Untitled Trigger 003 Copy Copy
Untitled Trigger 004
Untitled Trigger 005
Untitled Trigger 006
Untitled Trigger 006 Copy
Untitled Trigger 006 Copy Copy
Untitled Trigger 007
Untitled Trigger 007 Copy
Untitled Trigger 008
Untitled Trigger 009
Untitled Trigger 011
Untitled Trigger 011 Copy
Untitled Trigger 011 Copy 2
Untitled Trigger 011 Copy 3
Untitled Trigger 011 Copy 3 Copy
Untitled Trigger 011 Copy 3 Copy 2
Untitled Trigger 011 Copy 3 Copy 2 Copy
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
Integer
integer
No
Left
boolean
Yes
Lightning
lightning
Yes
LightningInteger
integer
Yes
Right
boolean
Yes
Untitled Trigger 010
Events
Player - Player 1 (Red) Presses the Left Arrow key
Player - Player 2 (Blue) Presses the Left Arrow key
Player - Player 3 (Teal) Presses the Left Arrow key
Player - Player 4 (Purple) Presses the Left Arrow key
Player - Player 5 (Yellow) Presses the Left Arrow key
Player - Player 6 (Orange) Presses the Left Arrow key
Player - Player 7 (Green) Presses the Left Arrow key
Player - Player 8 (Pink) Presses the Left Arrow key
Conditions
Actions
Unit - Make (Random unit from (Units owned by (Triggering player).)) face ((Facing of (Random unit from (Units owned by (Triggering player).))) + 20.00) over 0.10 seconds
Set Variable Set Left[(Player number of (Triggering player))] = "true"
Wait 0.09 seconds
Camera - Set (Triggering player) 's camera Rotation to (Facing of (Random unit from (Units owned by (Triggering player).))) over 0.10 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Left[(Player number of (Triggering player))] Equal to True
Then - Actions
Trigger - Run (This trigger) (checking conditions)
Else - Actions
Untitled Trigger 010 Copy
Events
Player - Player 1 (Red) Releases the Left Arrow key
Player - Player 2 (Blue) Releases the Left Arrow key
Player - Player 3 (Teal) Releases the Left Arrow key
Player - Player 4 (Purple) Releases the Left Arrow key
Player - Player 5 (Yellow) Releases the Left Arrow key
Player - Player 6 (Orange) Releases the Left Arrow key
Player - Player 7 (Green) Releases the Left Arrow key
Player - Player 8 (Pink) Releases the Left Arrow key
Conditions
Actions
Set Variable Set Left[(Player number of (Triggering player))] = "false"
Untitled Trigger 010 Copy 2
Events
Player - Player 1 (Red) Presses the Right Arrow key
Player - Player 2 (Blue) Presses the Right Arrow key
Player - Player 3 (Teal) Presses the Right Arrow key
Player - Player 4 (Purple) Presses the Right Arrow key
Player - Player 5 (Yellow) Presses the Right Arrow key
Player - Player 6 (Orange) Presses the Right Arrow key
Player - Player 7 (Green) Presses the Right Arrow key
Player - Player 8 (Pink) Presses the Right Arrow key
Conditions
Actions
Unit - Make (Random unit from (Units owned by (Triggering player).)) face ((Facing of (Random unit from (Units owned by (Triggering player).))) - 20.00) over 0.10 seconds
Set Variable Set Right[(Player number of (Triggering player))] = "true"
Camera - Set (Triggering player) 's camera Rotation to (Facing of (Random unit from (Units owned by (Triggering player).))) over 0.10 seconds
Wait 0.10 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Right[(Player number of (Triggering player))] Equal to True
Then - Actions
Trigger - Run (This trigger) (checking conditions)
Else - Actions
Untitled Trigger 010 Copy Copy
Events
Player - Player 1 (Red) Releases the Right Arrow key
Player - Player 2 (Blue) Releases the Right Arrow key
Player - Player 3 (Teal) Releases the Right Arrow key
Player - Player 4 (Purple) Releases the Right Arrow key
Player - Player 5 (Yellow) Releases the Right Arrow key
Player - Player 6 (Orange) Releases the Right Arrow key
Player - Player 7 (Green) Releases the Right Arrow key
Player - Player 8 (Pink) Releases the Right Arrow key
Conditions
Actions
Set Variable Set Right[(Player number of (Triggering player))] = "false"
Untitled Trigger 001
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Random unit from (Units owned by (Picked player).)) is in (Units currently selected by (Picked player)).) Equal to False
Then - Actions
Selection - Select (Random unit from (Units owned by (Picked player).))
Else - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Lock camera target for (Picked player) to (Random unit from (Units owned by (Picked player).)) , offset by ( (X of ((Position of (Random unit from (Units owned by (Picked player).))) offset by 256 towards (Facing of (Random unit from (Units owned by (Picked player).))) degrees.)) , (Y of ((Position of (Random unit from (Units owned by (Picked player).))) offset by 256 towards (Facing of (Random unit from (Units owned by (Picked player).))) degrees.)) ) using The unit's rotation
Camera - Lock camera target for (Picked player) to (Random unit from (Units owned by (Picked player).)) , offset by ( 0.00 , 0.00 ) using The unit's rotation
Camera - Set (Picked player) 's camera Angle of attack to -15.00 over 0 seconds
Camera - Set (Picked player) 's camera Rotation to (Facing of (Random unit from (Units owned by (Picked player).))) over 0.10 seconds
Camera - Set (Picked player) 's camera Height Offset to 130.00 over 0.10 seconds
Camera - Set (Picked player) 's camera Distance to target to -20.00 over 0.10 seconds
Untitled Trigger 002
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Game - Display to (All players) for 5.00 seconds the text: RUN!!!
Game - Display to (All players) for 30.00 seconds the text: Kill the rapist by finding rocks.
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player Group - Pick every player in (All players matching (((Picked player) slot status) Equal to Is unused).) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Picked player)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Selection - Select (Random unit from (Units owned by (Picked player).))
Camera - . Apply . gg_cam_Camera_001 for (Picked player) over 0 seconds
Wait 3.00 game-time seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Reset camera for (Picked player) to standard game-view over 0 seconds
Camera - Pan camera for (Picked player) to ((Picked player) start location) over 0 seconds
Unit Group - Pick every unit in (Units of type Sexual Predator) and do (Actions)
Loop - Actions
Unit - Add classification of A peon-type unit to (Picked unit)
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Item - Create Rock at (Random point in (Playable map area))
Untitled Trigger 003
Events
Unit - Sexual Predator 0017 <gen> Takes damage
Conditions
Actions
Animation - Play Sexual Predator 0017 <gen> 's stand hit animation
Set Variable Set Integer = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 1
Then - Actions
Sound - Stop AssassinDeath1 <gen> Immediately
Sound - Play AssassinDeath1 <gen> at 100 % volume, attached to Sexual Predator 0017 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 2
Then - Actions
Sound - Stop DryadDeath1 <gen> Immediately
Sound - Play DryadDeath1 <gen> at 100 % volume, attached to Sexual Predator 0017 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 3
Then - Actions
Sound - Stop WardenDeath1 <gen> Immediately
Sound - Play WardenDeath1 <gen> at 100 % volume, attached to Sexual Predator 0017 <gen>
Else - Actions
Untitled Trigger 003 Copy
Events
Unit - Sexual Predator 0016 <gen> Takes damage
Conditions
Actions
Animation - Play Sexual Predator 0016 <gen> 's stand hit animation
Set Variable Set Integer = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 1
Then - Actions
Sound - Stop AssassinDeath1 <gen> Immediately
Sound - Play AssassinDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 2
Then - Actions
Sound - Stop DryadDeath1 <gen> Immediately
Sound - Play DryadDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 3
Then - Actions
Sound - Stop WardenDeath1 <gen> Immediately
Sound - Play WardenDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
Untitled Trigger 003 Copy Copy
Events
Unit - Sexual Predator 0052 <gen> Takes damage
Conditions
Actions
Animation - Play Sexual Predator 0016 <gen> 's stand hit animation
Set Variable Set Integer = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 1
Then - Actions
Sound - Stop AssassinDeath1 <gen> Immediately
Sound - Play AssassinDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 2
Then - Actions
Sound - Stop DryadDeath1 <gen> Immediately
Sound - Play DryadDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 3
Then - Actions
Sound - Stop WardenDeath1 <gen> Immediately
Sound - Play WardenDeath1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Else - Actions
Untitled Trigger 004
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Sound - Stop music Immediately
Sound - Play Tragic Confrontation .
Wait 72.00 seconds
Sound - Stop the currently playing music theme
Sound - Play Dark Victory .
Wait 75.00 seconds
Sound - Stop the currently playing music theme
Sound - Play Dark Agents .
Wait 64.00 seconds
Sound - Stop the currently playing music theme
Trigger - Run (This trigger) (checking conditions)
Untitled Trigger 005
Events
Unit - A unit Finishes casting an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Chicken Noise
Then - Actions
Sound - Stop ChickenWhat1 <gen> Immediately
Sound - Play ChickenWhat1 <gen> at 100 % volume, attached to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Racoon Sound
Then - Actions
Sound - Stop RacoonWhat1 <gen> Immediately
Sound - Play RacoonWhat1 <gen> at (100.00 + 100.00) % volume, attached to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Smooch
Then - Actions
Sound - Stop RatWhat1 <gen> Immediately
Sound - Play RatWhat1 <gen> at 100 % volume, attached to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Sound
Then - Actions
Sound - Stop ArachnathidWhat2 <gen> Immediately
Sound - Play ArachnathidWhat2 <gen> at 100 % volume, attached to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Moan
Then - Actions
Sound - Stop SuccubusDeath1 <gen> Immediately
Sound - Play SuccubusDeath1 <gen> at 100.00 % volume, attached to (Triggering unit)
Sound - Set pitch of (Last played sound) to ((Real((Random integer number between 5 and 20))) / 10.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Ability being cast) Equal to Detect asdf
(Ability being cast) Equal to Scare
Then - Actions
Sound - Stop AbominationPissed5 <gen> Immediately
Sound - Play AbominationPissed5 <gen> at 100.00 % volume, attached to (Triggering unit)
Else - Actions
Untitled Trigger 006
Events
Unit - A unit comes within 600.00 of Sexual Predator 0016 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Woman (Female)
Actions
Sound - Stop FelHoundYes1 <gen> Immediately
Sound - Play FelHoundYes1 <gen> at 100 % volume, attached to Sexual Predator 0016 <gen>
Untitled Trigger 006 Copy
Events
Unit - A unit comes within 600.00 of Sexual Predator 0017 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Woman (Female)
Actions
Sound - Stop FelHoundYes1 <gen> Immediately
Sound - Play FelHoundYes1 <gen> at 100 % volume, attached to Sexual Predator 0017 <gen>
Untitled Trigger 006 Copy Copy
Events
Unit - A unit comes within 600.00 of Sexual Predator 0052 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Woman (Female)
Actions
Sound - Stop FelHoundYes1 <gen> Immediately
Sound - Play FelHoundYes1 <gen> at 100 % volume, attached to Sexual Predator 0052 <gen>
Untitled Trigger 007
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Woman (Female)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in (Entire map) matching (((Unit-type of (Matching unit)) Equal to Woman (Female)) and (((Matching unit) is alive) Equal to True)))) Equal to 0
Then - Actions
Player Group - Pick every player in (All allies of (Owner of (Dying unit)).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: You all got raped.
Player Group - Pick every player in (All enemies of (Owner of (Dying unit)).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Else - Actions
Untitled Trigger 007 Copy
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Sexual Predator
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in (Entire map) matching (((Unit-type of (Matching unit)) Equal to Sexual Predator) and (((Matching unit) is alive) Equal to True)))) Equal to 0
Then - Actions
Player Group - Pick every player in (All allies of (Owner of (Dying unit)).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Player Group - Pick every player in (All enemies of (Owner of (Dying unit)).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Else - Actions
Untitled Trigger 008
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Woman Detector
Actions
Unit Group - Pick every unit in (Units of type Woman (Female)) and do (Actions)
Loop - Actions
Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of (Triggering unit)) to target (Position of (Picked unit))
Set Variable Set Lightning[(((Player number of (Owner of (Triggering unit))) x 100) + LightningInteger[(Player number of (Owner of (Triggering unit)))])] = (Last created lightning effect)
Set Variable Set LightningInteger[(Player number of (Owner of (Triggering unit)))] = (LightningInteger[(Player number of (Owner of (Triggering unit)))] + 1)
Wait 6.00 seconds
For each (Integer A) from 0 to 50 , do (Actions)
Loop - Actions
Lightning - Destroy Lightning[(((Player number of (Owner of (Triggering unit))) x 100) + (Integer A))]
Set Variable Set LightningInteger[(Player number of (Owner of (Triggering unit)))] = "0"
Untitled Trigger 009
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Rock
Actions
Item - Create Rock at (Random point in (Playable map area))
Untitled Trigger 011
Events
Unit - A unit enters Front_Door <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Front_Door for (Owner of (Triggering unit)) over 0 seconds
Untitled Trigger 011 Copy
Events
Unit - A unit enters Right_Door <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Right_Door for (Owner of (Triggering unit)) over 0 seconds
Untitled Trigger 011 Copy 2
Events
Unit - A unit enters Left_Door <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Left_Door for (Owner of (Triggering unit)) over 0 seconds
Untitled Trigger 011 Copy 3
Events
Unit - A unit enters Front_Exit <gen>
Conditions
Actions
Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0 seconds
Untitled Trigger 011 Copy 3 Copy
Events
Unit - A unit enters Left_Exit <gen>
Conditions
Actions
Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0 seconds
Untitled Trigger 011 Copy 3 Copy 2
Events
Unit - A unit enters Right_Exit <gen>
Conditions
Actions
Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0 seconds
Untitled Trigger 011 Copy 3 Copy 2 Copy
Events
Unit - A unit enters Center <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Center for (Owner of (Triggering unit)) over 0 seconds
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.