Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AIDangerEvent Interface Reference

Event which gets broadcasted from danger-causing places to AI. More...

Inheritance diagram for AIDangerEvent:
[legend]

Public Member Functions

proto external IEntity GetVictim ()
 
proto external EAIDangerEventType GetDangerType ()
 
proto external void SetVictim (IEntity victim)
 
proto external void SetDangerType (EAIDangerEventType type)
 
proto external int GetCount ()
 
- Public Member Functions inherited from AIMessage
proto external void SetFlag (int fl)
 
proto external void ClearFlag (int fl)
 
proto external bool GetFlag (int fl)
 
proto external void SetText (string pText)
 
proto external string GetText ()
 
proto external vector GetPosition ()
 
proto external void SetPosition (vector pos)
 
proto external AIAgent GetSender ()
 sender is filled when broadcasting
 
proto external void SetReceiver (AIAgent pReceiver)
 
proto external AIAgent GetReceiver ()
 
proto external IEntity GetObject ()
 
proto external void SetObject (IEntity obj)
 
void OnBroadcast (AIAgent pOwner)
 
void OnReceived (AIAgent pReceiver)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Event which gets broadcasted from danger-causing places to AI.

Member Function Documentation

◆ GetCount()

proto external int AIDangerEvent.GetCount ( )

◆ GetDangerType()

proto external EAIDangerEventType AIDangerEvent.GetDangerType ( )

◆ GetVictim()

proto external IEntity AIDangerEvent.GetVictim ( )

◆ SetDangerType()

proto external void AIDangerEvent.SetDangerType ( EAIDangerEventType  type)

◆ SetVictim()

proto external void AIDangerEvent.SetVictim ( IEntity  victim)

The documentation for this interface was generated from the following file: