Hi,
let me describe a bit about my map and my intent. 12 players have their own 12 heroes. create the same certain amount of creeps for the position of each hero for training. Then check if a hero kill that amount of creep units, create amount +1 of creeps for that hero. I try to make it with neutral hostile dies event, but unable to be successful for the MULTIPLAYERS game. I test it with my two laptops but it seems that just player 1 [red] has the right what I want, the other user player (second laptop) has inordered spawning of creeps and soonly get stucked by very big amount of creep units.
let me describe a bit about my map and my intent. 12 players have their own 12 heroes. create the same certain amount of creeps for the position of each hero for training. Then check if a hero kill that amount of creep units, create amount +1 of creeps for that hero. I try to make it with neutral hostile dies event, but unable to be successful for the MULTIPLAYERS game. I test it with my two laptops but it seems that just player 1 [red] has the right what I want, the other user player (second laptop) has inordered spawning of creeps and soonly get stucked by very big amount of creep units.
-
Hero Training
-
Events
-
Time - Time3 expires
-
-
Conditions
-
Actions
-
Countdown Timer - Destroy Timer[3]
-
Set Event[3] = True
-
Unit - Pause all units
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Make (Picked unit) Invulnerable)
-
Countdown Timer - Create a timer window for TrainingTime with title Training Time
-
Countdown Timer - Start TrainingTime as a One-shot timer that will expire in 200.00 seconds
-
Set Timer[5] = (Last created timer window)
-
Unit Group - Pick every unit in HeroGroup and do (Actions)
-
Loop - Actions
-
Unit - Make (Picked unit) Vulnerable
-
Unit - Unpause (Picked unit)
-
-
-
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))) and do (Actions)
-
Loop - Actions
-
Set Hostiles[(Player number of (Picked player))] = 1
-
Camera - Pan camera for (Picked player) to (Center of Region[(Player number of (Picked player))]) over 0.10 seconds
-
Set Temp_Point = (Center of Region[(Player number of (Picked player))])
-
Unit - Create Hostiles[(Player number of (Picked player))] Peons[(Random integer number between 7 and 10)] for Neutral Hostile at Temp_Point facing Default building facing degrees
-
Custom script: call RemoveLocation(udg_Temp_Point)
-
Unit Group - Add all units of (Last created unit group) to TrainingGroup[(Player number of (Picked player))]
-
Unit Group - Pick every unit in (Last created unit group) and do (Unit - Set life of (Picked unit) to 20.00%)
-
Set Temp_Point = (Random point in Region[(Player number of (Picked player))])
-
If ((Random integer number between 1 and 4) Equal to 4) then do (Item - Create (Random level 1 Charged item-type) at Temp_Point) else do (Do nothing)
-
Custom script: call RemoveLocation(udg_Temp_Point)
-
-
-
-
-
Respawn
-
Events
-
Unit - A unit owned by Neutral Hostile Dies
-
-
Conditions
-
Event[3] Equal to True
-
((This trigger) is on) Equal to True
-
-
Actions
-
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))) and do (Actions)
-
Loop - Actions
-
Wait until ((All units of TrainingGroup[(Player number of (Picked player))] are dead) Equal to True), checking every 1.00 seconds
-
Set Hostiles[(Player number of (Picked player))] = (Hostiles[(Player number of (Picked player))] + 1)
-
Set Temp_Point = (Center of Region[(Player number of (Picked player))])
-
Unit - Create Hostiles[(Player number of (Picked player))] Peons[(Random integer number between 7 and 10)] for Neutral Hostile at Temp_Point facing Default building facing degrees
-
Custom script: call RemoveLocation(udg_Temp_Point)
-
Unit Group - Add all units of (Last created unit group) to TrainingGroup[(Player number of (Picked player))]
-
Unit Group - Pick every unit in (Last created unit group) and do (Unit - Set life of (Picked unit) to 20.00%)
-
Set Temp_Point = (Random point in Region[(Player number of (Picked player))])
-
If ((Random integer number between 1 and 4) Equal to 4) then do (Item - Create (Random level 1 Charged item-type) at Temp_Point) else do (Do nothing)
-
Custom script: call RemoveLocation(udg_Temp_Point)
-
-
-
-
-
End Training Time
-
Events
-
Time - TrainingTime expires
-
-
Conditions
-
Actions
-
Countdown Timer - Destroy Timer[5]
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in TrainingGroup[(Player number of (Picked player))] and do (Unit - Remove (Picked unit) from the game)
-
Unit Group - Remove all units from TrainingGroup[(Player number of (Picked player))]
-
Unit Group - Pick every unit in HeroGroup and do (Actions)
-
Loop - Actions
-
For each (Integer j) from 1 to 6, do (Item - Remove (Item carried by (Picked unit) in slot j))
-
-
-
-
-
Unit - Unpause all units
-
Set Event[3] = False
-
Countdown Timer - Create a timer window for Time4 with title All Duel
-
Countdown Timer - Start Time4 as a One-shot timer that will expire in 720.00 seconds
-
Set Timer[4] = (Last created timer window)
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Make (Picked unit) Vulnerable)
-
-