I am using the CatalogFieldValueSet function to change a data value within a table, but the value is not being passed through. I am able to retrieve that data using CatalogFieldValueGet. Example -
Assume that Ability PsiStorm is set up for auto-cast (e.g. appropriate auto cast range, filters, validators, etc). I turn the flag off in the data editor, so that prior to this trigger, auto-cast cannot be used.
(I removed the stuff in Events/Conditions to shorten this; assume that it is trigger-able once at a time in a controlled fashion)
When this trigger executes, it prints out to the screen -
0
0
I believe there is a problem with how I am passing in the variable to the set function, "1". I played around with other data types and conversion functions but to no avail. Any thoughts?
Some values cannot be changed by CatalogFieldValueSet. You can read every single value via CatalogFieldValueGet, but some, like the ability flags, are read-only.
As a rule of thumb: You can change any value via CatalogFieldValueSet, which is changeable by an upgrade.
If this helps you: The autocast range can be modified.
Hello,
I am using the CatalogFieldValueSet function to change a data value within a table, but the value is not being passed through. I am able to retrieve that data using CatalogFieldValueGet. Example -
Assume that Ability PsiStorm is set up for auto-cast (e.g. appropriate auto cast range, filters, validators, etc). I turn the flag off in the data editor, so that prior to this trigger, auto-cast cannot be used.
(I removed the stuff in Events/Conditions to shorten this; assume that it is trigger-able once at a time in a controlled fashion)
When this trigger executes, it prints out to the screen -
0
0
I believe there is a problem with how I am passing in the variable to the set function, "1". I played around with other data types and conversion functions but to no avail. Any thoughts?
Some values cannot be changed by CatalogFieldValueSet. You can read every single value via CatalogFieldValueGet, but some, like the ability flags, are read-only.
As a rule of thumb: You can change any value via CatalogFieldValueSet, which is changeable by an upgrade.
If this helps you: The autocast range can be modified.