26class BotTestSpamUserActions_GetEntityFromSlot : BotTimedWait
44 if (!
g_Game.IsDedicatedServer())
64 if (!
g_Game.IsDedicatedServer())
147class BotTestSpamUserActions : BotStateBase
151 ref BotTestSpamUserActions_GetEntityFromSlot m_GetRef;
154 void BotTestSpamUserActions (
Bot bot = NULL, BotStateBase parent = NULL)
160 m_GetRef =
new BotTestSpamUserActions_GetEntityFromSlot(m_Bot,
this, 2.0);
166 m_FSM.AddTransition(
new BotTransition( m_Start, __EntWait__, m_GetRef));
168 m_FSM.SetInitialState(m_Start);
177 m_Owner.GetInventory().CreateAttachment(
"PolicePantsOrel");
178 botDebugPrint(
"[bot] + " + m_Owner +
" created attachment item=" + m_Entity);
void botDebugPrint(string s)
override void OnTimeout()
FSMTransition< BotStateBase, BotEventBase, BotActionBase, BotGuardBase > BotTransition
represents event that triggers transition from state to state
Bot Finite State Machine (Hierarchical).
script counterpart to engine's class Inventory
static bool SetGroundPosByOwner(EntityAI owner, notnull EntityAI item, out InventoryLocation ground)
provides access to slot configuration
ref InventoryLocation m_Src
HandStateEquipped OnEntry
enum ProcessDirectDamageFlags m_Owner
class WeaponChambering_Chamber_OnEntry extends WeaponChambering_Base OnExit