3476 {
3477 string simulation;
3478
3479 if (info.GetIsWater())
3480 return;
3481
3483 if (simulation == "shotArrow")
3484 {
3485 string pile;
3487 vector pos = info.GetPos();
3488 vector dir = -info.GetInVelocity();
3489
3492
3494 arrow.SetDirection(dir);
3495 arrow.SetFromProjectile(info);
3496 }
3497 }
const int ECE_DYNAMIC_PERSISTENCY
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.
const float ARROW_PIERCE_DEPTH
proto float Normalize()
Normalizes vector. Returns length.
proto native CGame GetGame()