Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
AISmartActionComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class AISmartActionComponentClass: ScriptComponentClass
13 {
14 }
15 
17 {
19  void AISmartActionComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
20  {
21  m_Owner = GenericEntity.Cast(ent);
22  }
23 
24  proto external AIAgent GetUser();
25  proto external bool IsActionAccessible();
26  proto external void SetActionAccessible(bool accessible);
27  proto external int GetTags(out notnull array<string> outTags);
28  proto external void SetActionOffset(vector offset);
29  proto external vector GetActionOffset();
30 
31  // callbacks
32 
33  event override void EOnInit(IEntity owner);
34  event void OnActionBegin(IEntity owner);
35  event void OnActionEnd(IEntity owner);
36  event void OnActionFailed(IEntity owner);
37 }
38 
AISmartActionComponentClass
Definition: AISmartActionComponent.c:12
SetActionAccessible
proto external void SetActionAccessible(bool accessible)
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
OnActionEnd
event void OnActionEnd(IEntity owner)
GetUser
proto external AIAgent GetUser()
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
EOnInit
event override void EOnInit(IEntity owner)
Initialise this component with data from FactionsManager.
Definition: SCR_AIConfigComponent.c:79
SetActionOffset
proto external void SetActionOffset(vector offset)
OnActionBegin
event void OnActionBegin(IEntity owner)
IsActionAccessible
proto external bool IsActionAccessible()
AISmartActionComponent
void AISmartActionComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: AISmartActionComponent.c:19
m_Owner
AISmartActionComponentClass m_Owner
GetTags
proto external int GetTags(out notnull array< string > outTags)
GetActionOffset
proto external vector GetActionOffset()
OnActionFailed
event void OnActionFailed(IEntity owner)