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
Ice Cross V4.w3x
Variables
Initialization
Melee Initialization
Transfer Mana
Gameplay
Gold Mine
End Game
Nuclear
Rescue Strike
Zoom
Tips Always
Warpten
Dismantle
Dismantle Remove Effect
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
RandomINT
integer
No
SpcEff1
effect
Yes
SpcEff2
effect
Yes
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players matching (((Matching player) controller) Equal to Computer).) and do (Actions)
Loop - Actions
Set Variable Set RandomINT = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomINT Equal to 1
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\Ice Cross AI Type A.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomINT Equal to 2
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\Ice Cross AI Type B.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomINT Equal to 3
Then - Actions
AI - Start melee AI script for (Picked player) : war3mapImported\Ice Cross AI Type C.ai (Unexpected type: 'aiscript')
Else - Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Transfer Mana
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Transfer Energy
Actions
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + 100.00)
Gameplay
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Camera - Set (Picked player) 's camera Distance to target to 2200.00 over 2.00 seconds
Player - Set (Picked player) . Current gold to 3250
Player - Set (Picked player) . Current lumber to 1650
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Town Hall)) and do (Actions)
Loop - Actions
Unit - Hide (Picked unit)
Unit - Create 1 . Command Base for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees
Unit - Kill (Picked unit)
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Peasant)) and do (Actions)
Loop - Actions
Unit - Hide (Picked unit)
Unit - Create 1 . Worker for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees
Unit - Kill (Picked unit)
Quest - Display to (All players) the Hint message: Welcome to |cff00bfffIce Cross II - Showdown|r! The expansion version with a new landscape. This map has a higher rescource gain so enjoy!
Gold Mine
Events
Time - Every 360.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: Notice : Gold mine refilled!
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Gold Mine)) and do (Actions)
Loop - Actions
Neutral Building - Set (Picked unit) to 99999 gold
End Game
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Command Base
Actions
Sound - Play HeroicVictory <gen>
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Position of (Triggering unit)) over 5.00 seconds
Unit - Pause all units
Wait 3.00 seconds
Player Group - Pick every player in (All players matching (((Matching player) is an ally of (Owner of (Triggering unit)).) Equal to True).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Player Group - Pick every player in (All players matching (((Matching player) is an enemy of (Owner of (Triggering unit)).) Equal to True).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Nuclear
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Detonate! (Sheep)
Actions
Sound - Play SheepDeathSwim1 <gen>
Unit - Create 1 . Nuclear Effect for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 9.00 second Generic expiration timer to (Last created unit)
Rescue Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rescue Strike
Actions
Unit - Create 1 . Rescue Strike Effect for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Zoom
Events
Player - Player 1 (Red) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Camera - Set (Triggering player) 's camera Distance to target to (Real((Substring((Entered chat string), 7, 10)))) over 2.00 seconds
Tips Always
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Tips : Gold Mine will automatically refills every 6 minutes, suggest to put 10 workers into a gold mine.
Wait 60.00 seconds
Game - Display to (All players) the text: Tips : Resouces are important ! Build workers as much as u want as this game doesn't have food limit.
Wait 60.00 seconds
Game - Display to (All players) the text: Tips : Research Center provides mining and harvesting upgrades, which gives your worker to collect more gold and lumber in one time.
Wait 60.00 seconds
Game - Display to (All players) the text: Tips : If one of your allies's Command Base was destroyed, all of you will be defeated. Teamwork is important!
Wait 60.00 seconds
Game - Display to (All players) the text: Tips : Type -zoom to control camera distance. Default is 2200. Example ( -zoom 2345 )
Wait 60.00 seconds
Game - Display to (All players) the text: Tips : Towers are built to protect base's safety. Create anti-air tower if enemies are using air forces.
Wait 60.00 seconds
Trigger - Run (This trigger) (ignoring conditions)
Warpten
Events
Unit - A unit Begins construction
Conditions
Actions
Unit - Set (Triggering unit) construction progress to 100 %
Dismantle
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(unroot))
Actions
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Triggering unit) using war3mapImported\SandAura2.MDX
Set Variable Set SpcEff1[(Player number of (Triggering player))] = (Last created special effect)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Triggering unit) using Abilities\Spells\Human\ManaShield\ManaShieldCaster.mdl
Set Variable Set SpcEff2[(Player number of (Triggering player))] = (Last created special effect)
Dismantle Remove Effect
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Issued order) Equal to (Order(root))
Actions
Special Effect - Destroy SpcEff1[(Player number of (Triggering player))]
Special Effect - Destroy SpcEff2[(Player number of (Triggering player))]
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.