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
Skullspiter Troll Wars 2.w3x
Variables
Initialization
Trol ber
Trol ber Copy
Event
Troll hunter
Melee Initialization
Leaderbod
Score
Summon Creeps
Move
Moves
Hero Revive
Hero Revive Copy
Teleport
Teleport Copy
Castle
Castle Copy
Cinematic
Sound
Main
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
Player_Kills
integer
Yes
Postion
location
No
True
unit
No
User
player
No
Trol ber
Events
Unit - Barracks 0008 <gen> Dies
Unit - Barracks 0007 <gen> Dies
Conditions
Actions
Unit - Create 5 . Berserker for Player 8 (Pink) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 5 . Berserker for Player 8 (Pink) at (Center of Region_003 <gen>) facing Default building facing degrees
Trol ber Copy
Events
Unit - Barracks 0016 <gen> Dies
Unit - Barracks 0017 <gen> Dies
Conditions
Actions
Unit - Create 5 . Berserker for Player 7 (Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 5 . Berserker for Player 7 (Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Event
Events
Time - Every 240.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Dark Troll for Neutral Hostile at (Center of Region_012 <gen>) facing Default building facing degrees
Cinematic - Turn cinematic mode On for (All players)
Sound - Play war3mapImported\ForestTrollReady1.wav (Unexpected type: 'musictheme') .
Cinematic - Send transmission to (All players) from (Triggering unit) named Dark Troll : Play No sound and display Lets a kiling being! . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Troll hunter
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Troll Hunter for Player 7 (Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Troll Hunter for Player 7 (Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 1 . Troll Hunter for Player 8 (Pink) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 1 . Troll Hunter for Player 8 (Pink) at (Center of Region_003 <gen>) facing Default building facing degrees
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Set starting resources (for all players)
Leaderbod
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Skullspiter Troll Wars
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
(Picked player) Equal to User
Then - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label -Sh0ck3r- and value 0
Else - Actions
Score
Events
Unit - A unit Dies
Conditions
(Killing unit) Equal to True
Actions
Set Variable Set Player_Kills[(Player number of (Owner of (Killing unit)))] = Player_Kills[((Player number of (Owner of (Killing unit))) + 1)]
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Player_Kills[(Player number of (Owner of (Killing unit)))]
Summon Creeps
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Headhunter for Player 7 (Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 5 . Headhunter for Player 7 (Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 5 . Headhunter for Player 8 (Pink) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 5 . Headhunter for Player 8 (Pink) at (Center of Region_003 <gen>) facing Default building facing degrees
Move
Events
Unit - A unit enters Region_001 <gen>
Unit - A unit enters Region_000 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Region_004 <gen>)
Moves
Events
Unit - A unit enters Region_002 <gen>
Unit - A unit enters Region_003 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Region_005 <gen>)
Hero Revive
Events
Unit - Troll Fighter 0023 <gen> Dies
Unit - Troll Fighter 0024 <gen> Dies
Unit - Troll Fighter 0025 <gen> Dies
Conditions
Actions
Wait 2.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_006 <gen>) , Hide revival graphics
Hero Revive Copy
Events
Unit - Troll Fighter 0026 <gen> Dies
Unit - Troll Fighter 0027 <gen> Dies
Unit - Troll Fighter 0028 <gen> Dies
Conditions
Actions
Wait 2.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_007 <gen>) , Hide revival graphics
Teleport
Events
Unit - A unit enters Region_009 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_010 <gen>)
Teleport Copy
Events
Unit - A unit enters Region_008 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_011 <gen>)
Castle
Events
Unit - Fortress 0000 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Castle Copy
Events
Unit - Fortress 0015 <gen> Dies
Conditions
Actions
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Cinematic
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Sound - Play war3mapImported\IceTrollYes3.wav (Unexpected type: 'musictheme') .
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from a Neutral Passive . Troll Fighter named Troll Fighter at (Center of (Playable map area)) : Play No sound and display Cool! . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Sound
Events
Time - Elapsed game time is 7.00 seconds
Conditions
Actions
Sound - Play Orc Theme .
Main
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Whirlwind
Actions
Set Variable Set Postion = (Position of (Triggering unit))
Unit Group - Pick every unit in (Units within 450.00 of Postion matching ((Owner of (Matching unit)) Equal to Neutral Hostile).) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to Postion
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
Unit - Set level of Whirl Wind Dummy for (Last created unit) to (Level of Whirlwind for (Triggering unit))
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
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.