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

◆ OnActivatedByItem()

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

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

237 {
238 if (GetGame().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 }
void InitiateExplosion()
Определения ExplosivesBase.c:190
bool GetArmed()
Определения ExplosivesBase.c:266
override EntityAI GetPairDevice()
Определения Plastic_Explosive.c:216
ref RemotelyActivatedItemBehaviour m_RAIB
Определения Plastic_Explosive.c:8
proto native CGame GetGame()

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