4645 {
4646 bool result = true;
4647
4649 if ( ent )
4650 {
4652 if (player)
4653 {
4655 {
4656 if (player.IsAlive())
4657 {
4658 if (!player.IsRestrained() && !player.IsUnconscious())
4659 {
4660 return false;
4661 }
4662 }
4663 }
4664 }
4665 }
4666
4667 if ( result )
4668 {
4670 }
4671
4672 if (result)
4673 {
4674 EntityAI item = src.GetItem().GetHierarchyRoot();
4675 EntityAI root = item.GetHierarchyRoot();
4677 }
4678
4679 return result;
4680 }
DayZPlayer GetDayZPlayerOwner()
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
vector GetPosition()
Get the world position of the Effect.