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.
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: RIVE, NudeRaider