ShoutDisturbed()
Turns NPCs of the container's faction hostile towards the PC that destroyed or opened the container.
void ShoutDisturbed();
Description
Does two separate checks to see whether the container has been destroyed, or just opened. The only difference is the PC identifier method (LastAttacker / LastOpener).
The function then sends out a spherical 'shout' to all creatures within that are of the containers faction. It makes all faction members within to temporary enemy status towards the PC.
Remarks
Script: nw_o2_coninclude.nss: Line: 4484
Requirements
#include "nw_o2_coninclude"
Version
1.29
See Also
categories: | Action on Object Functions | Reputation/Faction Functions | Targeting Functions |
events: | OnDeath Event | OnDisturbed Event | OnOpen Event |
author: Jody Fletcher