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

◆ OnProjectileStopped()

void CGame::OnProjectileStopped ( ProjectileStoppedInfo info)
inlineprotected

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

3455 {
3456 string simulation;
3457
3458 GetGame().ConfigGetText("cfgAmmo " + info.GetAmmoType() + " simulation", simulation);
3459
3460 if (simulation == "shotArrow")
3461 {
3462 string pile;
3463
3464 GetGame().ConfigGetText("cfgAmmo " + info.GetAmmoType() + " spawnPileType", pile);
3465
3467 arrow.PlaceOnSurface();
3468 arrow.SetFromProjectile(info);
3469 }
3470 }
class LogManager EntityAI
const int ECE_DYNAMIC_PERSISTENCY
Определения CentralEconomy.c:32
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
proto native Object CreateObjectEx(string type, vector pos, int iFlags, int iRotation=RF_DEFAULT)
Creates object of certain type.
proto native vector GetPos()
proto native string GetAmmoType()
proto native CGame GetGame()

Перекрестные ссылки ConfigGetText(), CreateObjectEx(), ECE_DYNAMIC_PERSISTENCY, ProjectileStoppedInfo::GetAmmoType(), GetGame() и ProjectileStoppedInfo::GetPos().