Template:I Parentname:ru: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (New page: '''SetParent <target_destination>''' : Меняет родителя энтити в её [[movement hierarchy|иерархии движен...)
 
No edit summary
Line 1: Line 1:
'''[[Entity_Hierarchy_%28parenting%29#SetParent|SetParent]] <target_destination>'''
'''[[Entity_Hierarchy_%28parenting%29#SetParent|SetParent]] <целевая_энтити-родитель>'''
: Меняет родителя энтити в её [[movement hierarchy|иерархии движения]].
: Меняет родителя энтити в её [[movement hierarchy|иерархии движения]].
*'''[[Entity_Hierarchy_%28parenting%29#SetParentAttachment|SetParentAttachment]] <string>'''
*'''[[Entity_Hierarchy_%28parenting%29#SetParentAttachment|SetParentAttachment]] <строка>'''
:Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
:Присоединяет текущую энтити к специальной именованной точке её родителя, определяемой параметром ''<строка>''
*'''{{EP1 add|[[Entity_Hierarchy_%28parenting%29#SetParentAttachmentMaintainOffset|SetParentAttachmentMaintainOffset]] <string>}}'''
{{note:ru|Сначала необходимо задать родителя в иерархии движения этой энтити перед отправкой этой команды.}}
*'''{{EP1 add:ru|[[Entity_Hierarchy_%28parenting%29#SetParentAttachmentMaintainOffset|SetParentAttachmentMaintainOffset]] <string>}}'''
: Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the Parent's Origin and Angles at the time it is attached.
: Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the Parent's Origin and Angles at the time it is attached.
*'''[[Entity_Hierarchy_%28parenting%29#ClearParent|ClearParent]]'''
*'''[[Entity_Hierarchy_%28parenting%29#ClearParent|ClearParent]]'''
: Удаляет родителя из [[movement hierarchy|иерархии движения]] этой энтити.
: Удаляет родителя из [[movement hierarchy|иерархии движения]] этой энтити.

Revision as of 09:00, 2 May 2009

SetParent <целевая_энтити-родитель>

Меняет родителя энтити в её иерархии движения.
Присоединяет текущую энтити к специальной именованной точке её родителя, определяемой параметром <строка>

Template:Note:ru

SetParentAttachmentMaintainOffset <string> (in all games since Half-Life 2: Episode One)

Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the Parent's Origin and Angles at the time it is attached.
Удаляет родителя из иерархии движения этой энтити.