Enfusion Script API
|
Base class for all messages related to AI. More...
Public Member Functions | |
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) | |
Base class for all messages related to AI.
proto external void AIMessage.ClearFlag | ( | int | fl | ) |
proto external IEntity AIMessage.GetObject | ( | ) |
proto external vector AIMessage.GetPosition | ( | ) |
proto external AIAgent AIMessage.GetReceiver | ( | ) |
proto external AIAgent AIMessage.GetSender | ( | ) |
sender is filled when broadcasting
proto external string AIMessage.GetText | ( | ) |
void AIMessage.OnBroadcast | ( | AIAgent | pOwner | ) |
void AIMessage.OnReceived | ( | AIAgent | pReceiver | ) |
proto external void AIMessage.SetFlag | ( | int | fl | ) |
proto external void AIMessage.SetObject | ( | IEntity | obj | ) |
proto external void AIMessage.SetPosition | ( | vector | pos | ) |
proto external void AIMessage.SetReceiver | ( | AIAgent | pReceiver | ) |
proto external void AIMessage.SetText | ( | string | pText | ) |