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
SR RPG.w3x
Variables
Initialization
Initialization
Init Destructibles
Init Units
Creep Respawn
Extras
P1 Leave
P2 Leave
P3 Leave
P4 Leave
P5 Leave
P6 Leave
P7 Leave
P8 Leave
P9 Leave
Map
Hero Picking
Info
Human Spawn
Human March
Orc Spawn
Orc March
Map2
Gate
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
Initialization
Events
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 2000
Init Destructibles
Events
Conditions
Actions
Init Units
Events
Conditions
Actions
Every few seconds, any killed creep will respawn again and again.
Creep Respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
Wait 120.00 seconds
If ((Number of units in (Units within 800.00 of (Center of (Region centered at (Position of (Dying unit)) with size (1.00, 1.00))) matching (((Triggering unit) belongs to an enemy of Neutral Hostile.) Equal to True).)) Equal to 0) then do (Replace (Dying unit) with a (Unit-type of (Dying unit)) using The new unit's max life and mana) else do (Run (This trigger) (checking conditions))
P1 Leave
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 1 Leaved
P2 Leave
Events
Player - Player 2 (Blue) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 2 Leaved
P3 Leave
Events
Player - Player 3 (Teal) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 3 leaved.
P4 Leave
Events
Player - Player 4 (Purple) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 4 Leaved.
P5 Leave
Events
Player - Player 5 (Yellow) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 5 leaved.
P6 Leave
Events
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 6 Leaved
P7 Leave
Events
Player - Player 7 (Green) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 7 leaved.
P8 Leave
Events
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 8 leaved.
P9 Leave
Events
Player - Player 9 (Gray) leaves the game
Conditions
Actions
Game - Display to (All players) the text: Player 9 leaved.
So you can pick only ONE hero
Hero Picking
Events
Unit - Heroic Portal 0000 <gen> Sells a unit
Conditions
(Selling unit) Equal to Heroic Portal 0000 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Buying unit)) Equal to Soul
Then - Actions
Unit - Remove (Buying unit) from the game
Selection - Select (Sold unit) for (Owner of (Buying unit))
Unit - Move (Sold unit) instantly to (Center of Hero_Spawn <gen>)
Player - Set (Owner of (Sold unit)) . Food used to 5
Player - Set (Owner of (Sold unit)) . Food cap to 20
Else - Actions
Do nothing
Info
Events
Conditions
Actions
Quest - Create a Required quest titled How to Play with the description This is an open RPG played by multiplayers, you can create quests for other players like, escorting pack horses of your friend's, revenge against creeps who makes troubles. There's more to do! , using icon path ReplaceableTextures\CommandButtons\BTNCOP.blp
Quest - Create a Required quest titled Humans with the description Friendly soldiers who fight for their homeland against the Orcs and the Undead. If you fight along side with the Humans, the war will end with a victory. , using icon path ReplaceableTextures\CommandButtons\BTNKnight.blp
Quest - Create a Required quest titled Orcs with the description Deadly soldiers who will destroy the Human kingdom and their allies. The war will always come with a horde of Grunts. , using icon path ReplaceableTextures\CommandButtons\BTNGrunt.blp
Quest - Create a Required quest titled Undead with the description Evil walking corpses and ghosts centered at the magical city of Stratholme, which is now ruins ruled by Kel'Thuzad. , using icon path ReplaceableTextures\CommandButtons\BTNLichVersion2.blp
Quest - Create a Optional quest titled Map Info with the description This info is really useful for newbies, your spawn is located in the Northwest of the map where shops are selling there. The goblin laboratory is located in the North which is next to Ashenvale. , using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
Quest - Create a Optional quest titled The Cave with the description You may need powerful items and skills to fight inside the caves of Artheron. , using icon path ReplaceableTextures\CommandButtons\BTNDizzy.blp
Human Spawn
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Trigger - Turn on (This trigger)
Unit - Create 3 . Footman for Player 10 (Light Blue) at (Center of Human_Spawn <gen>) facing 270.00 degrees
Unit - Create 1 . Knight for Player 10 (Light Blue) at (Center of Human_Spawn <gen>) facing 270.00 degrees
Human March
Events
Unit - A unit enters Human_Spawn <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Human_March <gen>)
Orc Spawn
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Trigger - Turn on (This trigger)
Unit - Create 3 . Grunt for Player 11 (Dark Green) at (Center of Orc_Spawn <gen>) facing 90.00 degrees
Unit - Create 1 . Raider for Player 11 (Dark Green) at (Center of Orc_Spawn <gen>) facing 90.00 degrees
Orc March
Events
Unit - A unit enters Orc_Spawn <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Orc_March <gen>)
Gate
Events
Destructible - Lever 1231 <gen> dies
Conditions
Actions
Destructible - Open City Entrance 1100 <gen>
Destructible - Resurrect Lever 1231 <gen> with (Max life of (Last created destructible)) life and Show birth animation
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.