AceSevenFive Posted March 7, 2016 Posted March 7, 2016 So, I'm currently writing a perk mod, and I want to check if the property that controls the ID of the book that adds the rank of a perk is defined before attempting to add it. Is it possible to do this?
Reneer Posted March 8, 2016 Posted March 8, 2016 I'm a little confused as to what you are trying to do, but to check if a property is defined, you would just do something like this: if (propertyvar != none) ; code here endifAll properties, if they aren't defined in the CK / GECK, will have their "default" state set (for references this is none, for ints 0, floats 0.0, etc).
Recommended Posts