IsNullPackageData

From the CreationKit Wiki
Jump to navigation Jump to search

IsNullPackageData takes as a parameter any type of package data that could be null, and returns true if it is null. This is only a meaningful condition check for conditions on packages or procedures inside packages.

Notes[edit | edit source]

Currently there are only two types of package data that can be null:

  • data set to "linked ref" where an actor has no linked ref
  • object list data

There is no reason to check for things being null generally, as procedures are already handling those cases. This condition is limited to special circumstances (making branching procedure trees based on the presence of something in an object list, or having/not having a linked ref)

It is possible that in the future we may allow other data types to be null. In which case this function will have greater utility.

See Also[edit | edit source]

Reference[edit | edit source]

None provided.