4683 {
4684 bool result = true;
4685
4687 if ( ent )
4688 {
4690 if (player)
4691 {
4693 {
4694 if (player.IsAlive())
4695 {
4696 if (!player.IsRestrained() && !player.IsUnconscious())
4697 {
4698 result = false;
4699 }
4700 }
4701 }
4702 }
4703 }
4704
4705 if (!LocationCanMoveEntity(src, dst))
4706 {
4707 result = false;
4708 }
4709
4710
4711 if ( result )
4712 {
4713 result = CheckMoveToDstRequest( GetManOwner(), src, dst, radius);
4714 }
4715
4716 if (result)
4717 {
4718 EntityAI item = dst.GetItem().GetHierarchyRoot();
4719 EntityAI root = item.GetHierarchyRoot();
4721 }
4722
4723 return result;
4724 }
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.