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

◆ OnActivatedByItem()

Ammo_40mm_Explosive Ammo_40mm_Base OnActivatedByItem ( notnull ItemBase item)

Called when this item is activated by other.

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

219 {
220 if (GetGame().IsServer())
221 {
222 GetGame().CreateObject("ContaminatedArea_Local", item.GetPosition());
223 }
224 }
proto native Object CreateObject(string type, vector pos, bool create_local=false, bool init_ai=false, bool create_physics=true)
Creates object of certain type.
proto native CGame GetGame()

Перекрестные ссылки ParticleList::BOLT_CUPID_HIT и ParticleManager().