When using GetNearestObject is it ossible to specify more than one type of object to look for?
I have run across this in a script:
GetNearestObject((OBJECT_TYPE_TRIGGER | OBJECT_TYPE_DOOR), OBJECT_SELF, Num)
would this also work?
GetNearestObject((OBJECT_TYPE_TRIGGER + OBJECT_TYPE_DOOR), OBJECT_SELF, Num)