[need guidance] intercept interaction with objects and get object states
Hi!
I've spent some time reading the tutorials and scripting documentation but I could not find a way to:
* detect/intercept when a NPC/character interacts with an object (e.g. lamp);
* get the states of existing objects (doors that are open/closed, lamps that are on, etc).
Is this possible? If so, could you please point me to a place where I could look for these information?
Thanks!
Fernando