8 super.OnClick(w,
x,
y, button);
14 super.OnChange(w,
x,
y, finished);
145 g_Game.GetInput().ChangeGameFocus(1);
146 g_Game.GetUIManager().ShowUICursor(
true);
156 g_Game.GetInput().ChangeGameFocus(-1);
157 g_Game.GetUIManager().ShowUICursor(
false);
200 super.OnUpdate(delta_time);
224 m_MainWnd =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_infecteddebug.layout");
374 FreeDebugCamera.GetInstance().SetActive(
true);
376 FreeDebugCamera.GetInstance().SetActive(
false);
385 infected.GetInputController().OverrideMovementSpeed(
true,
m_MovementSpeedEB.GetText().ToFloat());
390 moveCommand.SetStanceVariation(
m_StanceCB.GetCurrentItem());
401 infected.StartCommand_Vault(
m_VaultingCB.GetCurrentItem());
406 infected.StartCommand_Vault(-1);
416 float hitDir =
m_HitDirEB.GetText().ToFloat();
420 infected.StartCommand_Hit(heavyHit, bodyPart, hitDir);
427 float deathDir =
m_HitDirEB.GetText().ToFloat();
429 infected.StartCommand_Death(deathType, deathDir);
438 infected.StartCommand_Attack(null, attackType, attackDir);
479 for (
int it = 0; it < shapesArr.Count(); ++it )
481 Shape shape = shapesArr[it];
const int ECE_EQUIP_ATTACHMENTS
const int ECE_PLACE_ON_SURFACE
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
class PluginDayZInfectedDebugUIHandler extends ScriptedWidgetEventHandler PluginDayZInfectedDebugAttackDesc(string pName, int pValue)
static Shape DrawSphere(vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
static void RemoveShape(out Shape shape)
void CommandHandler(DayZInfected infected)
ButtonWidget m_StartHitButton
EditBoxWidget m_TurnDirectionEB
bool OnClick(Widget w, int x, int y, int button)
buttons clicks
XComboBoxWidget m_HitTypeCB
XComboBoxWidget m_DeathTypeCB
ButtonWidget m_CardMovementButton
ButtonWidget m_CardFightButton
ref PluginDayZInfectedDebugUIHandler m_pUIHandler
void ToggleDebugWindowEvent()
void ShowWidgets(bool show)
ButtonWidget m_SpawnEntityButton
ref array< ref PluginDayZInfectedDebugAttackDesc > m_AttackDescriptors
void ~PluginDayZInfectedDebug()
bool OnChange(Widget w, int x, int y, bool finished)
XComboBoxWidget m_VaultingCB
ButtonWidget m_KnucleOutButton
XComboBoxWidget m_HitBodyPartCB
XComboBoxWidget m_AttackDirCB
void PluginDayZInfectedDebug()
Widget m_MainWnd
main controls
void CreateModuleWidgets()
XComboBoxWidget m_TurnTypeCB
ButtonWidget m_StartTurnButton
ButtonWidget m_StartCrawlingButton
void ToggleDebugWindowSetMode(int pMode)
EditBoxWidget m_HitDirEB
fight card
ButtonWidget m_StartDeathButton
XComboBoxWidget m_StanceCB
movement card
void SpawnNewInfectedEntity()
ButtonWidget m_StartVaultButton
XComboBoxWidget m_AttackTypeCB
ButtonWidget m_StartAttackButton
EditBoxWidget m_MovementSpeedEB
DayZInfected m_ControlledInfected
controlled instance
ref array< Shape > m_DebugShapes
ref Timer m_TickTimer
status refresh timer
void DestroyModuleWidgets()
override void OnUpdate(float delta_time)
bool m_CH_DoTurn
command handler values
XComboBoxWidget m_CrawlingTypeCB
Widget m_CardMovementFrame
XComboBoxWidget m_MindStateCB
void CleanupDebugShapes(array< Shape > shapesArr)
Plugin interface for controlling of agent pool system.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.