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
PS030912#1.w3x
Variables
Preload System
Preload System
Test
Massage
Test
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. (This map save with X design Pack)
Name
Type
is_array
initial_value
PS_Item
item
No
PS_Unit
unit
No
Default melee game initialization for all players
Preload System
Events
Map initialization
Conditions
Actions
-------- Create PIS_Unit --------
Custom script: set udg_PS_Unit = CreateUnit(Player(15),'hpea',0,0,0)
Custom script: function PreloadAbility takes integer i returns nothing
Custom script: call UnitAddAbility(udg_PS_Unit,i)
Custom script: endfunction
-------- Main function - Stop Reload --------
Custom script: function StopPreload takes nothing returns nothing
Custom script: call RemoveUnit(udg_PS_Unit)
Massage
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Game - Display to (All players) for 1000000000.00 seconds the text: Item will be preloaded 3s later.How to use:call PreloadItem( itemtypeid )call PreloadAbility( AbilityId )
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.