DayZ 1.29
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 ( g_Game.IsServer() )
153 {
155 DamageSystem.ExplosionDamage(EntityAI.Cast(this), null, ammoType, GetPosition(), damageType);
156 }
157 }
class LogManager EntityAI
DayZGame g_Game
Определения DayZGame.c:3942
void SynchExplosion()
Определения Object.c:159
proto native vector GetPosition()
Retrieve position.
proto string ConfigGetString(string entryName)

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