286 {
287 DbgUI.Begin("sway weight", 50, 50);
288 DayZPlayerImplement player = DayZPlayerImplement.Cast(
GetGame().
GetPlayer());
289 float sway_weight = player.GetAimingModel().GetSwayWeight();
290 DbgUI.Text(
"value: " + sway_weight.
ToString());
291 DbgUI.Text("Hold LWIN to draw debug line");
292 DbgUI.Text("Press X to simulate fire");
293 DbgUI.Text("Press Z to cycle debug modes");
295 DbgUI.Text("");
296 DbgUI.End();
297 }
ref map< int, string > m_DebugModesNames
proto string ToString(bool simple=true)
proto native CGame GetGame()