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
Camp System by San_Melon.w3x
Variables
Initialisierung
Nahkampf-Initialisierung
Camp System
READ THIS
Random
Initiiy
Initiator
Initiator Kopieren
Random2
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
RandomUnits
unitcode
Yes
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
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)
You need to Copy the hole file "Camp System" and the variable "Random Units".
You have to choose your own areas.
You can change the units, increase or decrease the limit of units just like you want.
Thats it! :) please give me credits if you use it :)
This is the base trigger, in which we will configure everything we want.
Make sure to add all heroes you want in the variables, and to change the maximum number of Integer A part of the trigger.
Random
Events
Map initialization
Conditions
Actions
Set Variable Set RandomUnits[1] = "nsty"
Set Variable Set RandomUnits[2] = "nwlt"
Set Variable Set RandomUnits[3] = "nmrl"
Set Variable Set RandomUnits[4] = "nssp"
Set Variable Set RandomUnits[5] = "ndtp"
Initiiy
Events
Map initialization
Conditions
Actions
Wait 2.00 seconds
Trigger - Turn on Initiator <gen>
Initiator
Events
Time - Every 60.00 seconds of game time
Conditions
((Center of Gebiet_000 <gen>) is visible to Player 1 (Red).) Equal to False
((Center of Gebiet_000 <gen>) is visible to Player 2 (Blue).) Equal to False
((Center of Gebiet_000 <gen>) is visible to Player 3 (Teal).) Equal to False
(Gebiet_000 <gen> contains (Random unit from (Units in Gebiet_000 <gen>))) Equal to False
Actions
Trigger - Turn on Random2 <gen>
Wait 1.00 seconds
Trigger - Turn off Random2 <gen>
Initiator Kopieren
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Trigger - Turn on Random2 <gen>
Wait 1.00 seconds
Trigger - Turn off Random2 <gen>
Random2
Events
Time - Every 0.24 seconds of game time
Conditions
Actions
Unit - Create 1 . RandomUnits[(Random integer number between 1 and 5)] for Neutral Hostile at (Random point in Gebiet_000 <gen>) facing Default building facing degrees
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.