2815 {
2816 bool result = true;
2817
2819 if ( ent )
2820 {
2822 if (player)
2823 {
2825 {
2826 if (player.IsAlive())
2827 {
2828 if (!player.IsRestrained() && !player.IsUnconscious())
2829 {
2830 return false;
2831 }
2832 }
2833 }
2834 }
2835 }
2836
2837 if ( result )
2838 {
2840 }
2841
2842 if (result)
2843 {
2844 EntityAI item = src.GetItem().GetHierarchyRoot();
2845 EntityAI root = item.GetHierarchyRoot();
2847 }
2848
2849 return result;
2850 }
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.