Expression syntax, how to consider object name? (Solved)

YiKwang
20 Feb 2022, 08:22I need to know how to say something as a Quest expression, because there is no option for it in the 'IF' list
The command using this expression is: kiss #object#
I want to express:
IF the [NAME/ALIAS] of given #object# is "specific object.name" THEN (blahblahblah script effects)
Can anyone help me?
mrangel
20 Feb 2022, 10:25The expression is probably object = name of object
… a bare word in Quest script can either be a local variable (such as object
within a command script), or the name of an object. So you can use the =
operator to test if those refer to the same object.

YiKwang
20 Feb 2022, 10:48that seems to work perfectly! thank you!