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 Troll Wars 1.3 Original.w3x
Variables
Initialization
ping
quests
Headhunter
AI
Name
Melee Initialization
camp
camp Copy
camp Copy 2
camp Copy 3
camp Copy 4
camp Copy 5
camp Copy 5 Copy 3
camp Copy 5 Copy 3 Copy
camp Copy 5 Copy
camp Copy 5 Copy 2
food
limit
income
income Copy
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
ping
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Remember to capture more bases there are passive ones located around the map
quests
Events
Map initialization
Conditions
Actions
Quest - Create a Optional quest titled Bases with the description It can be helpful to capture a second or a third base. There are uncontroled passive bases around the map that are guarded by creeps. To Capture a Build plot or camp simply kill it , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled Naga with the description A large band of Spitelash Naga have taken control of a large island in the South West Corner. it is only accesable by boat , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Optional quest titled Comeing soon with the description I Will by adding aprox 3 hero options, a troll mage,ranger and a warrior , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Optional quest titled Credits with the description Credits for models go to Lord_T, Cavman and Dan van Ohllus. Thanks to Nigaiaintdead and Crawlers for Beta Testing. All Terrain by Tetracells , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Headhunter
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Troll Hunter
(Owner of (Attacked unit)) Not equal to (Owner of (Attacking unit))
Actions
Unit - Order (Attacked unit) to Orc Far Seer - Feral Spirit .
AI
Events
Map initialization
Conditions
Actions
AI - Start melee AI script for Player 1 (Red) : war3mapImported\The Troll War AI3.ai (Unexpected type: 'aiscript')
AI - Start melee AI script for Player 2 (Blue) : war3mapImported\The Troll War AI3.ai (Unexpected type: 'aiscript')
AI - Start melee AI script for Player 3 (Teal) : war3mapImported\The Troll War AI3.ai (Unexpected type: 'aiscript')
AI - Start melee AI script for Player 4 (Purple) : war3mapImported\The Troll War AI3.ai (Unexpected type: 'aiscript')
AI - Start melee AI script for Player 5 (Yellow) : war3mapImported\The Troll War AI3.ai (Unexpected type: 'aiscript')
Name
Events
Player - Player 1 (Red) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 11 (Dark Green) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Player - Player 12 (Brown) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
(Substring((Entered chat string), 1, 5)) Equal to -name
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 26))
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (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 - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
camp
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Camp (large)
Actions
Unit - Create 1 . Camp (large) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Build Plot (medium)
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Barracks
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 3
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Spirit Lodge
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 4
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Beastiary
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 5
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Watch Tower
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 5 Copy 3
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to War Mill
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 5 Copy 3 Copy
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Tidal Guardian
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
camp Copy 5 Copy
Events
Unit - Camp 0004 <gen> Dies
Conditions
Actions
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_006 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_005 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 1 . Build Plot (medium) for (Owner of (Killing unit)) at (Center of Region_004 <gen>) facing Default building facing degrees
camp Copy 5 Copy 2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Fortress
Actions
Unit - Create 1 . Camp (large) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
limit
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Food cap to 1000000000
Player - Set Player 2 (Blue) . Food cap to 1000000000
Player - Set Player 3 (Teal) . Food cap to 1000000000
Player - Set Player 4 (Purple) . Food cap to 1000000000
Player - Set Player 5 (Yellow) . Food cap to 1000000000
income
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Player - Add 750 to Player 1 (Red) . Current gold
Player - Add 750 to Player 2 (Blue) . Current gold
Player - Add 750 to Player 3 (Teal) . Current gold
Player - Add 750 to Player 4 (Purple) . Current gold
Player - Add 750 to Player 5 (Yellow) . Current gold
income Copy
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player - Add 250 to Player 1 (Red) . Current gold
Player - Add 250 to Player 2 (Blue) . Current gold
Player - Add 250 to Player 3 (Teal) . Current gold
Player - Add 250 to Player 4 (Purple) . Current gold
Player - Add 250 to Player 5 (Yellow) . Current gold
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.