don't show floating widget if it's disabled in profile or the player is unconscious
check if action has target, otherwise don't show the widget
cursor with fixed position (environment interaction mainly)
build cursor for new target
use cached version for known target - recalculate onscreen pos only
См. определение в файле ActionTargetsCursor.c строка 305
306 {
308 {
311 }
312
315
318
320 return;
321
324
325
326
327
328
329
330
331
332
333
335
337 if (isVisionObstructionActive ||
m_Hud.GetHudVisibility().IsContextFlagActive(IngameHudVisibility.HUD_HIDE_FLAGS))
338 {
340 return;
341 }
342
345
348 if (!showTarget)
349 {
352
355 }
356
357 if (showTarget)
358 {
361 {
362
368 return;
369 }
371 {
375 {
377 {
378
383 return;
384 }
385 else
386 {
387
393 return;
394 }
395 }
398 {
400 {
401
405 return;
406 }
407 else
408 {
409
415 return;
416 }
417 }
418 }
419 else
420 {
422 {
426
427
429 }
430 }
431 }
432 else
433 {
435 {
439
440
442 }
443
445 }
446
const ref array< typename > VISION_OBSTRUCTION_PPEFFECTS_TYPES
float m_MaxWidthChild
widget width
void CheckRefresherFlagVisibilityEx(ActionTarget target)
void GetActions()
get actions from Action Manager
ActionBase m_ContinuousInteract
ref ATCCachedObject m_CachedObject
void BuildFloatingCursor(bool forceRebuild)
Перекрестные ссылки BuildFixedCursor(), BuildFloatingCursor(), CheckRefresherFlagVisibilityEx(), GetActionManager(), GetActions(), GetDayZGame(), GetPlayer(), PPEManagerStatic::GetPPEManager(), GetTarget(), HideWidget(), m_AM, m_CachedObject, m_Continuous, m_ContinuousInteract, m_FixedOnPosition, m_Hidden, m_Hud, m_Interact, m_MaxWidthChild, m_Player, m_Root, m_Single, m_Target и VISION_OBSTRUCTION_PPEFFECTS_TYPES.
Используется в OnUpdate().