Class UnturnedZombieAlertingPositionEvent
The event that is triggered when a zombie has been alerted to a position.
Inheritance
System.Object
UnturnedZombieAlertingPositionEvent
Implements
ICancellableEvent
Namespace: OpenMod.Unturned.Zombies.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedZombieAlertingPositionEvent : UnturnedZombieAlertingEvent, ICancellableEvent
Constructors
| Improve this Doc View SourceUnturnedZombieAlertingPositionEvent(UnturnedZombie, Vector3, Boolean)
Declaration
public UnturnedZombieAlertingPositionEvent(UnturnedZombie zombie, Vector3 position, bool isStartling)
Parameters
Type | Name | Description |
---|---|---|
UnturnedZombie | zombie | |
Vector3 | position | |
System.Boolean | isStartling |
Properties
| Improve this Doc View SourceIsStartling
True if startling.
Declaration
public bool IsStartling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Position
The alert position.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Implements
ICancellableEvent