Difference between revisions of "Exists"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>DavidJCobb
(command's functionality verified through disassembly)
(Pointed toward DoesNotExist for testing whether aliases are filled. IME Exists doesn't work for this purpose.)
 
Line 1: Line 1:
If you want to check whether an alias is filled, you probably want [[DoesNotExist]] instead.
This condition takes a reference as an argument. It returns 1.0 if the condition subject exists ''and'' if the subject and the argument are not the same object. Otherwise, the condition returns 0.0.
This condition takes a reference as an argument. It returns 1.0 if the condition subject exists ''and'' if the subject and the argument are not the same object. Otherwise, the condition returns 0.0.
This would be most useful for aliases, to determine whether they have filled.


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 00:05, 3 December 2021

If you want to check whether an alias is filled, you probably want DoesNotExist instead.

This condition takes a reference as an argument. It returns 1.0 if the condition subject exists and if the subject and the argument are not the same object. Otherwise, the condition returns 0.0.