- Joined
- Oct 27, 2016
- Messages
- 34
Hey! Hi! Hello!
I vividly remember getting a system like this to work very well many years ago, and I was pretty proud of being able to do what was (at least at the time) considered "impossible." However, I have grown to a...high level of rustiness, and I am having more than a fair number of issues with this trigger.
*Note: I have all of the variables defined in other triggers, don't worry about that, unless it really seems to be part of the issue here
*Note: simply respawning at "location of triggering unit" chooses the location of death, which does not help here. It can have some.... fun and messy outcomes that I am trying to avoid here.
I vividly remember getting a system like this to work very well many years ago, and I was pretty proud of being able to do what was (at least at the time) considered "impossible." However, I have grown to a...high level of rustiness, and I am having more than a fair number of issues with this trigger.
*Note: I have all of the variables defined in other triggers, don't worry about that, unless it really seems to be part of the issue here
-
CreepValue
-
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
-
(Number of units in (Units owned by Neutral Victim)) Greater than 0
-
-
Then - Actions
-
Unit Group - Pick every unit in (Random 1 units from (Units in (Playable map area) owned by Neutral Victim)) and do (Actions)
-
Loop - Actions
-
Unit - Set the custom value of (Picked unit) to CreepPositionNumber
-
Set CreepPositionNumber = (CreepPositionNumber + 1)
-
Set CreepPositions[(Custom value of (Picked unit))] = (Region centered at (Position of (Picked unit)) with size (100.00, 100.00))
-
Unit - Change ownership of (Picked unit) to Neutral Hostile and Change color
-
-
-
-
Else - Actions
-
Trigger - Turn off (This trigger)
-
-
-
-
*Note: simply respawning at "location of triggering unit" chooses the location of death, which does not help here. It can have some.... fun and messy outcomes that I am trying to avoid here.
Last edited: