8 ref BotTestAttachAndDropCycle_Detaching m_Detaching;
9 ref BotTestAttachAndDropCycle_Attaching m_Attaching;
11 void BotTestAttachAndDropCycle (
Bot bot = NULL,
BotStateBase parent = NULL)
16 m_Detaching =
new BotTestAttachAndDropCycle_Detaching(m_Bot,
this);
17 m_Attaching =
new BotTestAttachAndDropCycle_Attaching(m_Bot,
this);
24 m_FSM.AddTransition(
new BotTransition( m_Detaching, __EntDet__, m_Attaching));
25 m_FSM.AddTransition(
new BotTransition( m_Attaching, __EntAtt__, m_Detaching));
27 m_FSM.SetInitialState(m_Detaching);
46 override void OnUpdate (
float dt)
52class BotTestAttachAndDropCycle_Detaching
extends BotStateBase
68 override void OnUpdate (
float dt)
77 if (
m_Entity.GetInventory().GetCurrentInventoryLocation(loc))
88class BotTestAttachAndDropCycle_Attaching
extends BotStateBase
104 override void OnUpdate (
float dt)
115 if (
m_Entity.GetInventory().GetCurrentInventoryLocation(loc))
void botDebugPrint(string s)
FSMTransition< BotStateBase, BotEventBase, BotActionBase, BotGuardBase > BotTransition
represents event that triggers transition from state to state
Bot Finite State Machine (Hierarchical)
represent weapon state base
HandStateEquipped OnEntry
InventoryLocationType
types of Inventory Location
enum ProcessDirectDamageFlags m_Owner
class WeaponChambering_Chamber_OnEntry extends WeaponChambering_Base OnExit