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
item drop system.w3x
Variables
somethink
Wyzwalacz bez nazwy 001
Wyzwalacz bez nazwy 002
item drop
item drop
Wpisz poniżej własny skrypt dla mapy. Zostanie on dodany do skryptu mapy po określeniu zmiennych i przed dodaniem kodów wyzwalaczy.
Name
Type
is_array
initial_value
Wyzwalacz bez nazwy 001
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: 20 % chance to item drop
Wyzwalacz bez nazwy 002
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
How to improt???
1) Copy this trigger ( but it is only for footman!!! ) if u will want to do same with another unit, just change "(Unit-type of (Triggering unit)) = (here ur unit) and change dropping items in this : (((( "random integer number.... 1 and 5 (drop chance) = 1 and create (ur item ) and give it to (last created unit) )))) and copy (((( this trigger )))) and change to another item and number 1 to 2 or 3 or 4.... and ofc item dropped ...... Sry for bad description
2) Copy Corpse unit
Enjoy ;P
item drop
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Unit - Create 1 . corpse (footmen) for (Owner of (Killing unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 40.00 second Generic expiration timer to (Last created unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 5) Equal to 3
Then - Actions
Hero - Create Khadgar's Gem of Health and give it to (Last created unit)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 5) Equal to 2
Then - Actions
Hero - Create Crown of Kings +5 and give it to (Last created unit)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 5) Equal to 1
Then - Actions
Hero - Create Claws of Attack +15 and give it to (Last created unit)
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.