3550 {
3551 string simulation;
3552
3553 if (info.GetIsWater())
3554 return;
3555
3556 g_Game.ConfigGetText(
"cfgAmmo " + info.GetAmmoType() +
" simulation", simulation);
3557 if (simulation == "shotArrow")
3558 {
3559 string pile;
3560 g_Game.ConfigGetText(
"cfgAmmo " + info.GetAmmoType() +
" spawnPileType", pile);
3561 vector pos = info.GetPos();
3562 vector dir = -info.GetInVelocity();
3563
3566
3568 arrow.SetDirection(dir);
3569 arrow.SetFromProjectile(info);
3570 }
3571 }
const int ECE_DYNAMIC_PERSISTENCY
const float ARROW_PIERCE_DEPTH
proto float Normalize()
Normalizes vector. Returns length.