Staredit Network > Forums > SC2 Assistance > Topic: Autocast
Autocast
Mar 29 2017, 8:18 am
By: rockz  

Mar 29 2017, 8:18 am rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

I want to make certain abilities have autocast turned on so that they constantly trigger whenever off cooldown/buff expires.

They are essentially passive abilities (cloak, increased attack speed, decreased damage aura) but apparently adding Stats -> e_abilEffectFlagAutoCast isn't enough.

e_acquireLevelDefensive = Autocast animation shows, never actually autocasts
e_acquireLevelNone = Autocast animation never shows
e_acquireLevelOffensive = Autocast animation shows, never actually autocasts
e_acquireLevelPassive = Autocast animation never shows

If I could duplicate the shield effect from the SFE games, I would use that, but I can't seem to find an unlocked version of the map, hence I can't figure this out at all. Apparently I have to add an instant effect to allow the ability to be autocast?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 29 2017, 8:53 pm Alzarath Post #2

Praetor

You'll need to give it an auto-cast validator, such as Is Dead.

If you want it to always happen no matter what, why not instead use a behavior with a periodic effect?



None.

Mar 30 2017, 12:45 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

I need it to drain energy and be able to turn off. For example, cloak with 12 second duration, 11 second cooldown and increases damage by 50%, or a 10 energy cost buff that increases damage and decreases attack speed with 5 second duration, 5 second cooldown.

I'm also editing an existing map that probably wasn't the best in the world anyway, so a simple autocast modification should fix the issues we have with the current map (Night of the Dead).

Imagine I want to have a Sentry's Guardian Shield be on autocast, so it won't stop casting it until I tell it to or you run out of energy.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 30 2017, 2:47 pm Alzarath Post #4

Praetor

Alright, so have you tried adding an auto-cast validator?



None.

Mar 30 2017, 5:43 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Adding the validator seems to work.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: NudeRaider, Roy