User Tools

Site Tools


attach_points

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
attach_points [2022/05/09 15:06] justinattach_points [2022/05/09 15:06] (current) justin
Line 45: Line 45:
 </code> </code>
  
-You can reference the [[object]] that's currently attached to an attach point using the "attachment" property with the desired attach point ID. In the example below, the "glow" animation will be played for the [[object]] attached to the player's "right_hand" attach point.+You can reference the [[object]] that's currently attached to an attach point using the "attachment" property with the desired attach point ID. In the example below, the "glow" [[animation]] will be played for the [[object]] attached to the player's "right_hand" attach point.
 <code bauxite> <code bauxite>
 play_animation(player.attachment["right_hand"], "glow"); play_animation(player.attachment["right_hand"], "glow");
attach_points.txt · Last modified: 2022/05/09 15:06 by justin