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

◆ Explode()

void IEntity::Explode ( int damageType,
string ammoType = "" )
inlineprivate

Creates an explosion on this object by its ammoType in config.

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

145 {
146 if (ammoType == "")
147 ammoType = ConfigGetString("ammoType");
148
149 if (ammoType == "")
150 ammoType = "Dummy_Heavy";
151
152 if ( GetGame().IsServer() )
153 {
155 DamageSystem.ExplosionDamage(EntityAI.Cast(this), null, ammoType, GetPosition(), damageType);
156 }
157 }
class LogManager EntityAI
void SynchExplosion()
Определения Object.c:159
proto native vector GetPosition()
Retrieve position.
proto string ConfigGetString(string entryName)
proto native CGame GetGame()

Перекрестные ссылки ConfigGetString(), GetGame(), GetPosition() и SynchExplosion().