8 void BotSpawnDead (
Bot bot = NULL,
BotStateBase parent = NULL,
string new_type =
"")
10 if (new_type ==
string.
Empty)
11 m_Type =
"ZmbM_HermitSkinny_Beige";
23 Z.SetHealth(
"",
"", 0 );
33 ref BotSpawnDead m_SpawnDead;
34 ref BotSpawnEntityInHands m_SpawnShovel;
35 ref BotSelectZombieTarget m_Selecting;
36 ref BotPerformAction m_Burying;
38 void Bot_TestSpawnDeadSelectBury (
Bot bot = NULL,
BotStateBase parent = NULL,
string new_type =
"ZmbM_HermitSkinny_Beige")
45 m_SpawnDead =
new BotSpawnDead(m_Bot,
this,
m_Type);
46 m_SpawnShovel =
new BotSpawnEntityInHands(m_Bot,
this,
"Shovel");
47 m_Selecting =
new BotSelectZombieTarget(m_Bot,
this);
48 m_Burying =
new BotPerformAction(m_Bot,
this, AT_BURY_BODY);
56 m_FSM.AddTransition(
new BotTransition( m_SpawnDead, NULL, m_SpawnShovel));
57 m_FSM.AddTransition(
new BotTransition( m_SpawnShovel, __EntInH__, m_Selecting));
58 m_FSM.AddTransition(
new BotTransition( m_Selecting, __Select__, m_Burying));
59 m_FSM.AddTransition(
new BotTransition( m_Burying, NULL, NULL));
61 m_FSM.SetInitialState(m_SpawnDead);
66 override void OnUpdate (
float dt) { super.OnUpdate(dt); }
98 override void OnUpdate (
float dt)
132 void BotPerformAction (
Bot bot = NULL,
BotStateBase parent = NULL,
int action = AT_EAT)
150 cli_mgr.PerformAction(m_ActionID,
new ActionTarget(e.m_Entity, null, -1,
vector.Zero, -1), e.m_Entity);
158 override void OnUpdate (
float dt) { super.OnUpdate(dt); }
eBleedingSourceType m_Type
ref ActionTarget m_Target
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
Base class for eatch Infected type.
DayZPlayerInstanceType
defined in C++
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
HandStateEquipped OnEntry
enum ProcessDirectDamageFlags m_Owner
class WeaponChambering_Chamber_OnEntry extends WeaponChambering_Base OnExit
class WeaponFireWithEject extends WeaponFire m_dtAccumulator