DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ UpdateCommandModifiers()

void UpdateCommandModifiers ( DayZPlayer pPlayer)
protected

См. определение в файле PluginDayzPlayerDebug.c строка 658

659 {
660 Actions_UpdateGlobals(pPlayer);
661
662 // int nMods = pPlayer.GetCommandModifierCount();
663 // Print("Number of modifiers");
664 // Print(nMods);
665
666 /*
667 for (int i = 0; i < nMods; i ++)
668 {
669 // int a = pPlayer.GetCommandModifierId(i);
670
671 if (pPlayer.GetCommandModifierId(i) == DayZPlayerConstants.COMMANDID_MOD_ACTION)
672 {
673 }
674
675 // Print(a);
676
677 }
678 */
679
680 HumanCommandActionCallback clbk = pPlayer.GetCommandModifier_Action();
681 if (clbk)
682 {
683 Print(clbk);
684 };
685 }
void Actions_UpdateGlobals(DayZPlayer pPlayer)
Определения PluginDayzPlayerDebug.c:828
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки Actions_UpdateGlobals() и Print().

Используется в Tick().