I'm trying to set the Classes field of an inventory ability, to adjust which item classes it's allowed to pick up and I get acces denied error. Can this be done?
If so, it can be, but requires the data to be setup for it. The game can not ADD entries to the list, but it can MODIFY entries. So what you must do is configure the class list to contain the maximal number of entries you want, even if they are all dummy entries, classes unused by any item. Then the value can be modified on the fly by catalog set.
I'm trying to set the Classes field of an inventory ability, to adjust which item classes it's allowed to pick up and I get acces denied error. Can this be done?
Do you mean dynamically alter the list?
If so, it can be, but requires the data to be setup for it. The game can not ADD entries to the list, but it can MODIFY entries. So what you must do is configure the class list to contain the maximal number of entries you want, even if they are all dummy entries, classes unused by any item. Then the value can be modified on the fly by catalog set.
@ArcaneDurandel: Go
This is how the data is set up: LINK
And using this action:
Catalog - Modify value of Abilities Inventory InfoArray[0].Classes[0] for player (Picked player) using Set and (String(Relic))
Gives me this error: Core: access denied to required object or service
Hmmm.... I'll take a poke when I get home, that is interesting.
@ArcaneDurandel: Go
Any news on this? :)