Difference between revisions of "Exists"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
(Created page with " Category:Condition Functions")
 
(Pointed toward DoesNotExist for testing whether aliases are filled. IME Exists doesn't work for this purpose.)
 
(2 intermediate revisions by 2 users not shown)
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.


[[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.