View Single Post
SZOKOZ
Member
Join Date: Jan 2014
Old 02-16-2018 , 20:05   Re: SetParent that doesn't rotate prop?
Reply With Quote #6

You need to specify an attachment.
e.g.
SetVariantString("primary");
AcceptEntityInput(entity, "SetParentAttachment");

Also those 0s you added as arguments aren't null entities. Use -1. It is -1 by default so you don't need to add anything after the input argument.
__________________
May still be available for SM scripting. Just look at my Steam profile regarding my availability.
My Steam
SZOKOZ is offline