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
The Leaderboard.w3x
Variables
This doesnt learn you shit
DONT README
Hi kodo
anti cheat mode
Explode
Always Spam units
But this will
Create the Leaderboard
Leaderboard update
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
Leaderboard1
leaderboard
No
Player1Kills
integer
No
Player2Killz
integer
No
Random
integer
No
True
boolean
No
true
DONT README
Events
Map initialization
Conditions
Actions
Hero - Make Player 1 (Red) Heroes gain 10000.00 % experience from future kills
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Fade out over 0.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Wait 1.00 seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Medivh named Narrator at (Center of (Playable map area)) : Play No sound and display Listen careful. You must seek out the Kodo tribe, they live in the distant west. Be careful. . Modify duration: Set to 10.00 seconds and Wait
Cinematic - Send transmission to (All players) from I R GOD 0002 <gen> named : Play No sound and display Okay dad. . Modify duration: Set to 1.00 seconds and Wait
Cinematic - Fade in over 3.00 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 2.00 seconds
Wait 3.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Quest - Create a Required quest titled Seek out the Kodo with the description There is said that to the west, very far away there is a mystical kodo... , using icon path ReplaceableTextures\CommandButtons\BTNKoboldGeomancer.blp
Hi kodo
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Entering unit) Equal to I R GOD 0002 <gen>
Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from I R GOD 0002 <gen> named (Proper name of I R GOD 0002 <gen>) : Play No sound and display Hi kodo. . Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from Kodo Beast 0001 <gen> named Kodo : Play No sound and display Hai . Modify duration: Set to 1.00 seconds and Wait
Quest - Mark (Last created quest) as Completed
Quest - Display to (All players) the Quest Completed message: YAY! U Compledet a QuEWsztasshdshfh GAH I HATE THIS SHIT!
Trigger - Turn on Always_Spam_units <gen>
Trigger - Run Create_the_Leaderboard <gen> (ignoring conditions)
anti cheat mode
Events
Player - Player 1 (Red) types a chat message containing WHOSYOURDADDY (Unexpected type: 'stringnoformat') as An exact match
Player - Player 1 (Red) types a chat message containing whosyourdaddy (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) the text: YOU CANT EVEN BEAT THIS WITHOUT CHEATS?!
Explode
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set Random = (Random integer number between 1 and 2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Random Equal to 2
Then - Actions
Unit - Explode (Dying unit) .
Else - Actions
Always Spam units
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Footman for Player 2 (Blue) at (Random point in Region_002 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . I R GOD 0002 <gen>
-------- --- --------
Unit - Create 1 . Mortar Team for Player 2 (Blue) at (Random point in MOWTARS <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . I R GOD 0002 <gen>
Just add an event if you're going to copy this trigger.
Create the Leaderboard
Events
Conditions
Actions
-------- Notice how it CAN'T be created during map start --------
-------- But yer not that dumb are ye? ;) --------
Leaderboard - Create a leaderboard for (All players) titled KILLING BLOWS
Set Variable Set Leaderboard1 = (Last created leaderboard)
Leaderboard - Add Player 1 (Red) to Leaderboard1 with label Some random idiot and value Player1Kills
Leaderboard - Add Player 2 (Blue) to Leaderboard1 with label Some random idiot and value Player2Killz
Leaderboard - Show Leaderboard1
-------- Alright, so I am using variables in this one. --------
-------- The thing is that you have to UPDATE it. --------
-------- From what I remember atleast --------
-------- Just going to turn a trigger on here --------
Trigger - Turn on Leaderboard_update <gen>
The leaderboard - Change value is problary the one you're after.
Have fun :)
Leaderboard update
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
Then - Actions
Set Variable Set Player1Kills = (Player1Kills + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Player 2 (Blue)
Then - Actions
Set Variable Set Player2Killz = (Player2Killz + 1)
Else - Actions
-------- Alright, two ''IF owner of killing unit equal to babla, increase kills by 1 --------
Leaderboard - Change the value for Player 1 (Red) in Leaderboard1 to Player1Kills
Leaderboard - Change the value for Player 2 (Blue) in Leaderboard1 to Player2Killz
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.