Autocast to unautocatable?

warroom99

New Member
Reaction score
15
can i turn an autocastable skill, such as slow or inner fire, unautocastable without using any triggers?
 

vypur85

Hibernate
Reaction score
803
Don't think it's possible, even with triggers. Of course there are workarounds (which I think you already know) but still they require triggers.
 

Sil3nt

SUP?
Reaction score
134
The only way i think you can do this is by using dumm units and triggers, which isnt that hard.
 

warroom99

New Member
Reaction score
15
i thought of using dummy unit but i am conserving map size. :D

if i have plenty of these things should i also make plenty of dummy skills?

hmm... can't i use this??

Code:
event - unit is issued an order with no target
cond
action
   if - issued order is equal to (slowon)
   then - order triggering unit to deactivate slow
   else -
   if - issued order is equal to (healon)
   then - order triggering unit to deactivate heal..... etc.

i dont have my WE with me right now.. :D
 

Sil3nt

SUP?
Reaction score
134
^ You could use that, i think youll still hear the autocast sound though. If you decide to do that remember to go to the object editor and select your unit and remove the auto cast ability from the top field named 'Abilities - Default Active Abiltiy'

As for the map size i highly doubt itll make any difference.
 

warroom99

New Member
Reaction score
15
atleast it uses a little coding instead of creating units and ordering them to cast. i think it also creates lag when they are created all at the same time.. :D

tnx anyway
 

vypur85

Hibernate
Reaction score
803
creates lag when they are created all at the same time..

Not really actually. It won't lag (unless you really spam the number of dummies, which is quite impossible for your case). The lag usually comes from adding abilities to the dummy. Make sure you preload the ability first and everything would be fine. Something like that would be sufficient:

Code:
Untitled Trigger 001
    Events
        Map initialization
    Conditions
    Actions
        Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
        Unit - Add Aura of Blight to (Last created unit)
        Unit - Remove (Last created unit) from the game

Now if you add Aura of Blight to future created units, it won't lag anymore.

Or if you afraid that your autocast skill really autocast a lot of times producing a lot of dummy in a short period of time, then you can remove the dummy from the game after they die. This will more or less reduce lags.

Code:
Untitled Trigger 001
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Triggering unit)) Equal to Footman
    Actions
        Unit - Remove (Triggering unit) from the game
Something like that (so the unit don't decay).
 
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