AceSevenFive Posted March 7, 2016 Share 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? Link to comment Share on other sites More sharing options...
Reneer Posted March 8, 2016 Share 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). Link to comment Share on other sites More sharing options...
Recommended Posts