3679 {
3680 string simulation;
3681
3682 if (info.GetIsWater())
3683 return;
3684
3685 g_Game.ConfigGetText(
"cfgAmmo " + info.GetAmmoType() +
" simulation", simulation);
3686 if (simulation == "shotArrow")
3687 {
3688 string pile;
3689 g_Game.ConfigGetText(
"cfgAmmo " + info.GetAmmoType() +
" spawnPileType", pile);
3690 vector pos = info.GetPos();
3691 vector dir = -info.GetInVelocity();
3692
3695
3697 arrow.SetDirection(dir);
3698 arrow.SetFromProjectile(info);
3699 }
3700 }
const int ECE_DYNAMIC_PERSISTENCY
const float ARROW_PIERCE_DEPTH
proto float Normalize()
Normalizes vector. Returns length.