Template:I Parentname:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ScrollBox|title=Parentname| {{IO:zh|SetParent|设置父级实体。详见Entity Hierarchy (parenting).|param=字符串}} {{IO:zh|SetParentAttachment|修改此实体到...")
 
(No difference)

Revision as of 02:16, 16 October 2019

Parentname:
SetParent <字符串>
设置父级实体。详见Entity Hierarchy (parenting).
SetParentAttachment <字符串>
修改此实体到父实体的特定附属点。实体会传送,以至于其骨骼方位与附属匹配。在使用此输入前必须设置好实体的父实体。
SetParentAttachmentMaintainOffset <字符串>
同上,但不传送。实体接受到此输出后保留与父级的相对位置。
ClearParent
取消绑定父实体,以至于此实体可以自由行动。