Thread: Linking frames?
View Single Post
09-16-12, 03:26 AM   #4
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Dont move the child ... move the parent. I use it this way (self in this snippet is the child, setuserplaced is not needed when you place it yourself):

Code:
	if(self['moveparent']) then
		self:GetParent():StartMoving()
		self:GetParent():SetUserPlaced(false)
	else
		self:StartMoving()
		self:SetUserPlaced(false)
	end
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote