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
Next revision
Previous revision
attach_points [2022/05/09 15:02] 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.
 <code bauxite> <code bauxite>
 play_animation(player.attachment["right_hand"], "glow"); play_animation(player.attachment["right_hand"], "glow");
attach_points.1652133741.txt.gz · Last modified: 2022/05/09 15:02 by justin