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
Drobots.w3x
Variables
==Drobots==
==All with Metal==
Searching for Metal
If Metal used to build a Drobot
If Metal used to heal instant
Use Metal to build a Drobot or heal instant
==Run around==
Run Drobot RUN
found a enemy
enemy find timer
==Metal==
Metal dropp by dying units
==Information==
==Map==
Gold and Wood
Start gold and wood
I wanna see waht the drobots do
Daytime
==Credits==
Credits
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
MetalSpawn
integer
No
Searching for Metal
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Last created item)) Equal to Metal Piece
Then - Actions
Unit - Order (Random unit from (Units of type Drobot)) to Right-Click . (Last created item)
Else - Actions
Do nothing
If Metal used to build a Drobot
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Feral Spirit A
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Casting unit) has an item of type Metal Piece) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Metal Piece)
Unit - Create 1 . Drobot for Player 9 (Gray) at (Position of (Triggering unit)) facing Default building facing degrees
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Last created unit) using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
Else - Actions
Do nothing
If Metal used to heal instant
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to War Stomp A
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Casting unit) has an item of type Metal Piece) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Metal Piece)
Unit - Set life of (Triggering unit) to 100 %
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Triggering unit) using Abilities\Spells\Undead\ReplenishHealth\ReplenishHealthCasterOverhead.mdl
Else - Actions
Do nothing
Use Metal to build a Drobot or heal instant
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Drobot
Actions
Set Variable Set MetalSpawn = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MetalSpawn Less than or equal to 65
Then - Actions
Unit - Order (Triggering unit) to Orc Far Seer - Feral Spirit .
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MetalSpawn Greater than or equal to 66
Then - Actions
Wait 1.00 seconds
Unit - Order (Triggering unit) to Orc Tauren Chieftain - War Stomp .
Else - Actions
Do nothing
Run Drobot RUN
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Random point in (Playable map area))
found a enemy
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Drobot
Actions
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Attack-Move To . (Position of (Triggering unit))
Wait 0.10 seconds
Unit - Order (Random unit from (Units of type Drobot)) to Move To . (Position of (Triggering unit))
Trigger - Turn on enemy_find_timer <gen>
Trigger - Turn off (This trigger)
enemy find timer
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Trigger - Turn on found_a_enemy <gen>
Trigger - Turn off (This trigger)
Metal dropp by dying units
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set MetalSpawn = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MetalSpawn Less than or equal to 42
Then - Actions
Item - Create Metal Piece at (Position of (Triggering unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MetalSpawn Greater than or equal to 43
Then - Actions
Do nothing
Else - Actions
Do nothing
The metal droppchance is 42%, statistic like all 3th unit that die, spawns a metal, so careful cause drobots lifeelixier is METAL!
Credits to Sporling^^
Gold and Wood
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player - Add 10 to Player 1 (Red) . Current gold
Player - Add 10 to Player 1 (Red) . Current lumber
Start gold and wood
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Player - Add 500 to Player 1 (Red) . Current gold
Player - Add 500 to Player 1 (Red) . Current lumber
I wanna see waht the drobots do
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Daytime
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Game - Set the time of day to 12
Made by Sporling, have fun with the Drobots :D
Credits
Events
Time - Every 80.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: |c00FFFF00Please |c00FF8040dont forget|r|c00FFFF00 to |c00FF8040Credit me in your map|r|c00FFFF00 if u use my |c0000FF40drobots|r|c00FFFF00, and if u like my |c0000FF40drobots|r|c00FFFF00 it would be nice if u give me +rep :)|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.