This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
attach_points [2020/09/27 15:31] – justin | attach_points [2022/05/09 15:05] – justin | ||
---|---|---|---|
Line 30: | Line 30: | ||
The example below will attach the " | The example below will attach the " | ||
<code bauxite> | <code bauxite> | ||
- | attach_object(" | + | attach_object(" |
</ | </ | ||
+ | Alternately, | ||
<code bauxite> | <code bauxite> | ||
- | attach_object(" | + | attach_object(" |
</ | </ | ||
Line 41: | Line 42: | ||
The example below will detach the [[object]] currently attached to the player' | The example below will detach the [[object]] currently attached to the player' | ||
<code bauxite> | <code bauxite> | ||
- | detach_object(player, | + | detach_object(player, |
+ | </ | ||
+ | |||
+ | You can reference the [[object]] that's currently attached to an attach point using the " | ||
+ | <code bauxite> | ||
+ | play_animation(player.attachment[" | ||
</ | </ | ||
Line 56: | Line 62: | ||
<code bauxite> | <code bauxite> | ||
- | equip_item(player, | + | equip_item(player, |
</ | </ | ||
Line 62: | Line 68: | ||
<code bauxite> | <code bauxite> | ||
- | unequip_item(player, | + | unequip_item(player, |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |