Jump to content

Recommended Posts

Posted

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?

Posted

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
endif
All 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).
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...