It's propably read-only. I have no idea which fields actually can be altered with this function, but this most certainly can't, since it would cause massive desync (you can change the value for only one player, so propably it's just some GUI settings that this function can change)
not sure but it looks like your dealing with an array type of catalog value theres a additional syntax required i believe, but i know i found the syntax for it elsewhere on mapster
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
Okay, I'm able to get the value from the field LifeDamageGain[Melee], but I'm unable to set it.
In other words,
Value of Units (String((Unit type of (Triggering unit)))) "LifeDamageGain[Melee]" for player (Owner of (Triggering unit)) Returns proper value.
Set value of Units (String((Unit type of (Triggering unit)))) "LifeDamageGain[Melee]" for player (Owner of (Triggering unit)) to "5" DOES NOT WORK
It gives the following error:
ErrorCatalogFieldNotWritten Trigger Error in 'gt_ArmorChange_Func': TriggerDebug/ ErrorCatalogFieldNotWritten
Any ideas what I'm doing wrong? Can't for the life of me figure it out. . .
It's propably read-only. I have no idea which fields actually can be altered with this function, but this most certainly can't, since it would cause massive desync (you can change the value for only one player, so propably it's just some GUI settings that this function can change)
Interesting, though I did notice some other gameplay related values that could be changed, such as LifeArmor for instance.
What exactly do you mean by desync, though?
not sure but it looks like your dealing with an array type of catalog value theres a additional syntax required i believe, but i know i found the syntax for it elsewhere on mapster