Dummy Aura

Randor244

Active Member
Reaction score
34
I have this trigger:
Trigger:
  • Weather Copy
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Turn RandomWeather Off
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 2) Equal to 1
        • Then - Actions
          • Environment - Turn RandomWeather On
          • Unit - Create 1 dummy for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
          • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
        • Else - Actions
          • Do nothing


It has a random chance to make it rain every 10 seconds. A dummy is present during this period. The dummy has an aura based on the Endurance aura, with Attack and Movement speed increase -0.25.
The endurance aura has the following targets allowed:
Air, Enemy, Friend, Ground, Invulnerable, Self, Vulnerable

The endurance aura enables my custom buff "Rain".

My problem is, that during the rain period my units doesn't move slower and the buff doesn't show up. What am I doing wrong?
 

Sajberhippie

New Member
Reaction score
30
Have you tried putting the dummy in the WE? Does the aura work as it should?

Also, this trigger leaks positions. It's just one per 10 seconds, but it's unneccessary. Set the "Center of (Playable Map Area)" as a variable and add:

Custom script: call RemoveLocation (YourVariable)
 

lindenkron

You can change this now in User CP
Reaction score
102
Might be issue with it being a neutral passive unit?

Try this:
Set the endurance aura to be friendly units only.
Make sure its 9999999999999 change (Shift + click)
Run a For each loop.

For each 1 - 12
create dummy unit for player((integer 1))
set expiration timer etc etc etc.

Creates 12 units then. One for each player.

(To test if the aura works, make a simple trigger or give the aura to a unit u can see. So you don't have to guess using invisible units :) )

-Lindenkron

Edit:
Custom script: call RemoveLocation (udg_YourVariable)

:)
 

I_RULE_YOU

New Member
Reaction score
34
The only thing I can thing of is that the enemy is Neutral Passive, and thus has no enemies or friends :D

Try making it Neutral Hostile.

Btw, great idea with having the rain slow everyone on the map. Never heard of that before.
 

Never_Quit

New Member
Reaction score
16
i think once every 10 seconds is a little annoying, but
i would do something like this
every ten seconds
set variable random 1-2
if then else multiple
if variable is 1 then do
weather rain over playable map
unit group
pick all units set unit speed to -25%
add buff rain to picked unit
else do
pick all units
set picked unit speed to default
remove buff rain from picked unit
(note that trigger would leak)
 

Randor244

Active Member
Reaction score
34
The 10 seconds are only for testing. The real duration will be 4 minutes.
And I've already solved the problem now thanks to lindenkron (+rep :D).

Thank you all!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top