Enfusion Script API
|
Event which gets broadcasted from danger-causing places to AI. More...
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) | |
Event which gets broadcasted from danger-causing places to AI.
proto external int AIDangerEvent.GetCount | ( | ) |
proto external EAIDangerEventType AIDangerEvent.GetDangerType | ( | ) |
proto external IEntity AIDangerEvent.GetVictim | ( | ) |
proto external void AIDangerEvent.SetDangerType | ( | EAIDangerEventType | type | ) |
proto external void AIDangerEvent.SetVictim | ( | IEntity | victim | ) |