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

◆ OnActivatedByItem()

override void Plastic_Explosive::OnActivatedByItem ( notnull ItemBase item)
inlineprotected

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

237 {
238 if (g_Game.IsServer())
239 {
240 if (GetHealthLevel("") == GameConstants.STATE_RUINED)
241 {
242 return;
243 }
244
245 if (item == this)
246 {
247 SetHealth("", "", 0.0);
249 return;
250 }
251
252 if (m_RAIB.IsPaired() && GetArmed())
253 {
254 if (GetPairDevice() == item)
255 {
256 SetHealth("", "", 0.0);
258 }
259 }
260 }
261 }
DayZGame g_Game
Определения DayZGame.c:3942
void InitiateExplosion()
Определения ExplosivesBase.c:198
bool GetArmed()
Определения ExplosivesBase.c:274
override EntityAI GetPairDevice()
Определения Plastic_Explosive.c:216
ref RemotelyActivatedItemBehaviour m_RAIB
Определения Plastic_Explosive.c:8

Перекрестные ссылки g_Game, GetArmed(), GetPairDevice(), InitiateExplosion(), m_RAIB и GameConstants::STATE_RUINED.