Staredit Network > Forums > SC2 Assistance > Topic: Modifying attributes
Modifying attributes
Apr 30 2010, 5:45 pm
By: Swampfox  

Apr 30 2010, 5:45 pm Swampfox Post #1



Lately, I've been working with heroes, veterancy levels, and attributes, and I've been trying to modify a hero's attributes through triggers. So far I have a trigger like:

Event: Unit gains experience level
Action: Play sound, bring up level up UI /w buttons that execute a certain trigger (the AGL button runs the AddAgility trigger)

But I can't for the life of me figure out how to modify the hero's attributes without using the options inside the veterancy levels' behavior, which, I believe, only allow you to add a certain amount of points into any one of your attributes automatically, without giving you a choice of where you want your points to go.

Any help would be greatly appreciated.



None.

Apr 30 2010, 8:03 pm ShredderIV Post #2



http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/complete-hero/

I dont know how this might be done with triggers though. I'm pretty sure attributes aren't easily modifiable through triggers.



None.

Apr 30 2010, 8:39 pm Swampfox Post #3



I've already gone through all of the hero tuts no sc2mapster and whatever other sites. None of them actually go into any great amount of detail in how to use attributes :|
I guess, with my limited abilities with the editor anyway, it may not be possible to manually spend attribute points? I'm sure someone will come up with something eventually...



None.

Apr 30 2010, 8:46 pm Neki Post #4



EVENT
Unit - (Triggering unit) attribute points changed
ACTION
Unit - Set (Last created unit) custom value (Triggering attribute points) to 10.0
Closet I can find to modifying attributes.




None.

Apr 30 2010, 8:53 pm Swampfox Post #5



Let's see... how would I change the '(Triggering unit) attribute point' manually/ingame in order to execute that trigger?



None.

Apr 30 2010, 10:19 pm LoveLess Post #6

Let me show you how to hump without making love.

Quote from name:Taylor Swift
EVENT
Unit - (Triggering unit) attribute points changed
ACTION
Unit - Set (Last created unit) custom value (Triggering attribute points) to 10.0
Closet I can find to modifying attributes.
I agree, it seems that you can only set attributes, you cannot add/subtract. It's really stupid.




None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06: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
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- 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
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy