Just to add to this question (sorry for hijacking the thread
Does anyone know of a way to trigger an event if an object is NOT within the players field of view?
I want a scripted event similar to an insanity vision, where the object only changes when you cannot see it.
Currently it works as soon as the cursor leaves the object, so you can see it dissappear. I've made a workaround by placing a large area over the object, but from some positions the player can still see the change, and this workaround will get ver messy for a script I want to use later in the game.
I was thinking of using a script which enabled/disables the insanity vision property of an entity, but I don't know whether such a function exists.