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
Assault.w3x
Variables
Camera Experiment
Camera 1
Camera 2
Camera 3
View
View
Gold Gain
Set starting gold
Replenish Gold
Maximum Gold P1
Maximum Gold P2
Specials
Fan of Knives
ThundaClap
Mana Burn
Kill Heal
Summon Rune
Deathrattle Murloc
Cripple Heal
Replenish Mana Special
Holy Light
Smite
Deal Damage HQ
Mana Regain
Mana Regain
Runes
Set Possible Runes
Summon Runes
Defeat/Victory
Win Victory
Change Race
Undead
Human
Orc
ScarletCrusade
---------------------------
Undead p2
Orc p2
ScarletCrusade p2
AI TEST
AI Command
AI Set
AI Train
AI Attack
AI Cast Spells
AI Pickup Items
Init
Pause
Unpause
Start to speed
F9
Message
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
PossibleRunes
itemcode
Yes
Camera 1
Events
Player - Player 1 (Red) types a chat message containing -c1 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera 2
Events
Player - Player 1 (Red) types a chat message containing -c2 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 0 seconds
Camera 3
Events
Player - Player 1 (Red) types a chat message containing -c3 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply . gg_cam_BirdsView for Player 1 (Red) over 0 seconds
Camera - Set the camera bounds for Player 1 (Red) to (Playable map area)
View
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Set starting gold
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 4
Replenish Gold
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add 4 to (Picked player) . Current gold
Maximum Gold P1
Events
Player - Player 1 (Red) 's Current gold becomes Greater than or equal to 10.00
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 10
Maximum Gold P2
Events
Player - Player 2 (Blue) 's Current gold becomes Greater than or equal to 10.00
Conditions
Actions
Player - Set Player 2 (Blue) . Current gold to 10
Fan of Knives
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Summon Dark Troll Berserker
Actions
Unit - Create 1 The DUMMY for (Owner of (Hero manipulating item)) at (Position of (Item being manipulated)) facing (Position of (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Fan of Knives (Special Dark Troll) to (Last created unit)
Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives .
ThundaClap
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Storm Wyrm
Actions
Unit - Create 1 The DUMMY for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Dying unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add ThundaClap (Stormwyrm Special) to (Last created unit)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Mana Burn
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Satyr Shadowshifter
Actions
Unit - Create 1 The DUMMY for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Dying unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Mana Burn (Special Shadowshifter) to (Last created unit)
Unit - Order (Last created unit) to Night Elf Demon Hunter - Mana Burn . (Random unit from (Units owned by (Random player from (All enemies of (Owner of (Dying unit)).)) of type Headquarters))
Kill Heal
Events
Unit - A unit Dies
Conditions
(Unit-type of (Killing unit)) Equal to Fel Guard
Actions
Unit - Create 1 The DUMMY for (Owner of (Killing unit)) at (Position of (Killing unit)) facing (Position of (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add Kill Heal (Fel Guard) to (Last created unit)
Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave . (Killing unit)
Summon Rune
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Summon Rune
Actions
Item - Create PossibleRunes[(Random integer number between 1 and 4)] at (Position of (Casting unit))
Deathrattle Murloc
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Murloc Coastrunner
Actions
Unit - Create 1 Murloc for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Triggering unit))
Cripple Heal
Events
Unit - A unit Dies
Conditions
((Dying unit) has buff Cripple) Equal to True
Actions
Replenish Mana Special
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Shadowshifter Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Dying unit)) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
Loop - Actions
Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 3.00)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Items\AIma\AImaTarget.mdl
Holy Light
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Holy Light
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to True
Then - Actions
Do nothing
Else - Actions
Unit - Create 1 . The DUMMY for (Owner of (Casting unit)) at (Position of (Picked unit)) facing Default building facing degrees
Unit - Add Heal (((DUmmy))) to (Last created unit)
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave . (Picked unit)
Smite
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Smite
Actions
Unit - Create 1 . The DUMMY for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building facing degrees
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Add SmiteDamage to (Last created unit)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Deal Damage HQ
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Wraithlord
Actions
Unit Group - Pick every unit in (Units owned by (Random player from (All enemies of (Owner of (Dying unit)).)) matching (((Matching unit) is A structure) Equal to True).) and do (Actions)
Loop - Actions
Unit - Cause (Triggering unit) to damage (Picked unit) , dealing 3.00 damage of attack type Chaos and damage type Normal
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Mana Regain
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
Loop - Actions
Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 3.00)
Set Possible Runes
Events
Map initialization
Conditions
Actions
Set Variable Set PossibleRunes[1] = "I001"
Set Variable Set PossibleRunes[2] = "I003"
Set Variable Set PossibleRunes[3] = "I000"
Set Variable Set PossibleRunes[4] = "I002"
Set Variable Set PossibleRunes[5] = "I004"
Set Variable Set PossibleRunes[6] = "I005"
Set Variable Set PossibleRunes[7] = "I006"
Summon Runes
Events
Time - Every 35.00 seconds of game time
Conditions
Actions
Item - Create PossibleRunes[(Random integer number between 1 and 7)] at (Random point in Playing_Area <gen>)
Win Victory
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
Actions
Game - Victory (Random player from (All enemies of (Owner of (Dying unit)).)) ( Show dialogs, Show scores)
Game - Defeat (Owner of (Dying unit)) with the message: Defeat!
Undead
Events
Player - Player 1 (Red) types a chat message containing -Undead (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0001 <gen> with a Headquarters using The old unit's relative life and mana
Human
Events
Player - Player 1 (Red) types a chat message containing -Human (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0001 <gen> with a Headquarters using The old unit's relative life and mana
Orc
Events
Player - Player 1 (Red) types a chat message containing -Orc (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0001 <gen> with a Headquarters using The old unit's relative life and mana
ScarletCrusade
Events
Player - Player 1 (Red) types a chat message containing -sc (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0001 <gen> with a Headquarters using The old unit's relative life and mana
Undead p2
Events
Player - Player 2 (Blue) types a chat message containing -Undead (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0002 <gen> with a Headquarters using The old unit's relative life and mana
Orc p2
Events
Player - Player 2 (Blue) types a chat message containing -Orc (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0002 <gen> with a Headquarters using The old unit's relative life and mana
ScarletCrusade p2
Events
Player - Player 2 (Blue) types a chat message containing -sc (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Replace Headquarters 0002 <gen> with a Headquarters using The old unit's relative life and mana
AI Command
Events
Player - Player 1 (Red) types a chat message containing -AI (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn on AI_Set <gen>
Trigger - Turn on AI_Train <gen>
Trigger - Turn on AI_Attack <gen>
Trigger - Turn on AI_Pickup_Items <gen>
Game - Display to (All players) the text: AI Mode activated!
AI Set
Events
Map initialization
Conditions
(Player 2 (Blue) controller) Equal to Computer
Actions
Trigger - Turn on AI_Train <gen>
AI Train
Events
Time - Every 4.00 seconds of game time
Conditions
(Player 2 (Blue) Current gold) Less than or equal to 9
Actions
Unit - Order Headquarters 0002 <gen> to train/upgrade to a Footman
Unit - Order Headquarters 0002 <gen> to train/upgrade to a Archer
AI Attack
Events
Time - Every 4.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 2 (Blue).) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of Spawn_2 <gen>)
AI Cast Spells
Events
Time - Every 6.00 seconds of game time
Conditions
(Mana of Headquarters 0002 <gen>) Less than or equal to 8.00
Actions
AI Pickup Items
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit - Order (Random unit from (Units owned by Player 2 (Blue) of type Footman)) to Right-Click . (Random item in Playing_Area <gen>)
Pause
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
Unpause
Events
Time - Elapsed game time is 60.00 seconds
Conditions
Actions
Trigger - Turn off Pause <gen>
Trigger - Turn on Replenish_Gold <gen>
Trigger - Turn on Mana_Regain <gen>
Trigger - Turn on Summon_Runes <gen>
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Unpause (Picked unit)
Start to speed
Events
Player - Player 1 (Red) types a chat message containing -start (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off Pause <gen>
Trigger - Turn off Unpause <gen>
Trigger - Turn on Replenish_Gold <gen>
Trigger - Turn on Mana_Regain <gen>
Trigger - Turn on Summon_Runes <gen>
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Unpause (Picked unit)
F9
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled |c00ff3333GAMEPLAY|r with the description - Use your Headquarters to cast abilities and train units!- Once in a while runes will spawn in the playable area. Collect them and units will spawn to help you out. |c00ff3333Remember, runes can change the tide of the battle easily!|r- To win, destroy the enemy Headquarters , using icon path ReplaceableTextures\CommandButtons\BTNSelectHeroOff.blp
Quest - Create a Required quest titled |c00ff3333AI|r with the description Write -AI to activate the... AI mode.I won't judge how AI plays, but this can prove useful if you want to try out races.Currently, AI plays only Human race. , using icon path ReplaceableTextures\CommandButtons\BTNSpellBookBLS.blp
Quest - Create a Optional quest titled Human with the description Race choosing: At the beginning, no need to write anythingUnits: Footman, ArcherHero: RunemasterAbilities: Heal, Dispel, Silence, BlizzardPlaystyle: Hybrid (Aggressive or Defensive) , using icon path ReplaceableTextures\CommandButtons\BTNFootman.blp
Quest - Create a Optional quest titled Scarlet Crusade with the description Race choosing: -scUnits: Crusader, ChaplainHero: PaladinAbilities: Smite, Storm Bolt, Victory Charge, Holy LightPlaystyle: Aggressive , using icon path ReplaceableTextures\CommandButtons\BTNAdvancedUnholyStrength.blp
Quest - Create a Optional quest titled Undead with the description Race choosing: -undeadUnits: Ghoul, Skeletal ArcherHero: LichAbilities: Death Coil, Raise Dead, Cripple, Death PactPlaystyle: Defensvie , using icon path ReplaceableTextures\CommandButtons\BTNLichVersion2.blp
Quest - Create a Optional quest titled Orc with the description Race choosing: -orcUnits: Grunt, ShamanHero: Far SeerAbilities: Mend, Purge, Bloodlust, Chain LightningPlaystyle: Aggressive / Defensive , using icon path ReplaceableTextures\CommandButtons\BTNThrall.blp
Message
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: |c0000ff33Hello and welcome to Assault. A fast-paced mini-game. This is the time where you choose your race by typing it (see F9 for more info). After 1 minute, the game will begin. Again, read F9 for gameplay information. Good luck and have fun|r!
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.