Anyone with any knowledge on this, your help would be much appreciated. If not, could someone point me to a definitive/descriptive tutorial which achieves / attempts to achieve this.
ps. Apologies if bumping is against forum rules - I just want an answer to this asap.
Create stackable buffs that increase the attribute/give bonuses *Agility +0.15 Movespeed, -0.2 Reload Time *Strength +10 Hitpoints, +5 Kg carrying limit *Psionics +5 Energy, +0.1 Energy Regeneration Create a trigger which counts the number of buffs applied to a unit Somehow transfer this numeric value to the Attribute the unit has Use abilities for players to assign their attribute points.
Create a behavior with an infinite duration.
Open "Modifications +"
Go on the behavior tab.
press the green X to add a value in the first place this is possible.
Add your attribute, set the amount to 1.
Make the behavior have infinite or 255 stacks maximum (255 is the attribute limit)
Repeat for all attributes
Then either use abilities to apply the behaviors and use requirements to show/hide the abilities, or if theres an event for "unit levels up" make a trigger increase an integer by 3, and have dialogs which apply the behavior to your unit and then reduce that integer, and the dialogs only show/work when that integer is over 0.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This is what I have.
I would like it whenever my hero gains a level, he gains 3 Attribute Points to allocate to his attributes.
Is this possible through
a) Triggers.
b) Data Editor/Abilities?
or will I have to use stackable Buffs instead of Behaviours for my Attributes and then display their values in a Dialog box?
Anyone with any knowledge on this, your help would be much appreciated. If not, could someone point me to a definitive/descriptive tutorial which achieves / attempts to achieve this.
ps. Apologies if bumping is against forum rules - I just want an answer to this asap.
I am going to attempt solving it this way:
Create stackable buffs that increase the attribute/give bonuses
*Agility +0.15 Movespeed, -0.2 Reload Time
*Strength +10 Hitpoints, +5 Kg carrying limit
*Psionics +5 Energy, +0.1 Energy Regeneration
Create a trigger which counts the number of buffs applied to a unit
Somehow transfer this numeric value to the Attribute the unit has
Use abilities for players to assign their attribute points.
Create a behavior with an infinite duration.
Open "Modifications +"
Go on the behavior tab.
press the green X to add a value in the first place this is possible.
Add your attribute, set the amount to 1.
Make the behavior have infinite or 255 stacks maximum (255 is the attribute limit)
Repeat for all attributes
Then either use abilities to apply the behaviors and use requirements to show/hide the abilities, or if theres an event for "unit levels up" make a trigger increase an integer by 3, and have dialogs which apply the behavior to your unit and then reduce that integer, and the dialogs only show/work when that integer is over 0.