Sets whether an object should listen.
The object to set the listening status.
TRUE if the object should listen, otherwise FALSE.
Sets whether oObject should listen for listening patterns set on it.
Note: It has no effect on if they will hear something with GetObjectHeard().
Deafness has no effect on this (as such, deafness has no effect at all on any PC listening, so why should it affect NPC's!).
GetIsListening will return TRUE or FALSE for this setting.
There is no way to reset listening patterns on a creature, or delete them, apart from changing and overriding ones already present of course.
SetListening(OBJECT_SELF, FALSE) will not reset anything, but merely make no patterns heard, and GetIsListening(TRUE) will return FALSE.
SetListening(OBJECT_SELF, TRUE) will allow patterns to be heard - and it doesn't matter where it is called from (before or after patterns to listen to are set).
author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jasperre, Trevor Berghage