• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Hero Attribute to Zero?

Status
Not open for further replies.
Level 8
Joined
Apr 21, 2011
Messages
93
With the shift-edit option in the Editor I managed to override the minimum 1 point for Hero attributes and they appear as zero in the game.
However, if the numbers ever increase during play, it seems impossible to reduce them back to zero. It mins out at 1.

I've only tried the basic triggers since I have very little knowledge about the scripting languages and such, so I was wondering if it's possible to override this minimum by using these more elaborate tools?

Tl;dr: I want to reduce a Hero attribute to 0 within the game.

Thanks for the help in advance ^^
 
However, if the numbers ever increase during play, it seems impossible to reduce them back to zero. It mins out at 1.

Can you specify the events during gameplay that cause the problem? Like a buff/effect or something?

If it happens when your hero levels up, then the easiest way is to go to object editor and edit your Hero's Agility per level, Int per level and str per level.

Other than that, you must apply a trigger. Once you specify the events, i might be able to help you with the trigger.
 
The numbers increase via a trigger. The amount of a certain unit type determines the number. So, the player starts with 0 units, and the number is 0. However, in the event that all units die / are removed, the number will not drop to zero, but will stop at 1.
 
If that's the case, the only way I can think of is to create a new hero.

Or the ugly method, using Attribute Bonus-based abilities, which AFAIK allow you to go into negatives.
I think the first approach is the ugliest.

Because Heroes are unique unit, you can't simply remove them.

You can, however I believe the leaks is piled up quickly.
 
You can detect the base str and bonus str. You can manipualte both. It is possible to have 0 str all the time. You won't die because of that, you die if it causes you to have 0 hp, and hp can be manipulated by other means than through str.

@MortAr, so you're saying that if I have 0 str, pick up tome of str and then try to set str to 0, it won't go there? I don't have access to the editor for a few days so I can't test.
 
You can detect the base str and bonus str. You can manipualte both. It is possible to have 0 str all the time. You won't die because of that, you die if it causes you to have 0 hp, and hp can be manipulated by other means than through str.

@MortAr, so you're saying that if I have 0 str, pick up tome of str and then try to set str to 0, it won't go there? I don't have access to the editor for a few days so I can't test.

i was thinking that too, applying a tome bonus except -1 instead of 1
 
Status
Not open for further replies.
Back
Top