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

◆ Fold()

void Inventory_Base::Fold ( )
inlineprotected

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

82 {
83 this.ShowSelection( "inventory" );
84 this.HideSelection( "placing" );
85 this.HideSelection( "filled" );
86
89
90 if ( GetGame().IsServer() )
91 {
92 SetAllowDamage(true);
94 float fold_damage = ( GetMaxHealth( "", "" ) / 100 ) * PERCENTUAL_DAMAGE;
95 DecreaseHealth( "", "", fold_damage );
96 }
97 }
void SetState(int state)
Определения HescoBox.c:56
static const int PERCENTUAL_DAMAGE
Определения HescoBox.c:6
static const int FOLDED
Определения HescoBox.c:3
void Synchronize()
Определения HescoBox.c:34
override void RefreshPhysics()
Определения HescoBox.c:124
proto native CGame GetGame()

Перекрестные ссылки FOLDED, GetGame(), PERCENTUAL_DAMAGE, RefreshPhysics(), SetState() и Synchronize().

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