Raised This Month: $170 Target: $400
 42% 

How to SetParent


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 05-24-2015 , 19:50   Re: How to SetParent
Reply With Quote #11

In retrospect, the reason the valve wiki says to wait "a frame" is probably directed at mappers firing inputs via entities... who knows what order those actually get fired in when you have a list of different inputs that happen on the same trigger.

In sourcepawn... you can actually control that. ;p

I still have no idea what the difference between SetParentAttachment and MaintainOffset is. I tried both and they seemed to work identically, both teleporting the entity to the attachment point. I have no idea what "offset" they're talking about. How far the position of the child is offset from the parent? Doesn't seem like it, since it just teleports to the attachment point anyway...???
__________________

Last edited by Chdata; 05-24-2015 at 19:51.
Chdata is online now
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:06.


Powered by vBulletin®
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Theme made by Freecode