This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| attach_points [2020/09/27 15:34] – justin | attach_points [2022/05/09 15:06] (current) – 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, | Alternately, | ||
| <code bauxite> | <code bauxite> | ||
| - | attach_object(" | + | attach_object(" |
| </ | </ | ||
| Line 42: | 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 57: | Line 62: | ||
| <code bauxite> | <code bauxite> | ||
| - | equip_item(player, | + | equip_item(player, |
| </ | </ | ||
| Line 63: | Line 68: | ||
| <code bauxite> | <code bauxite> | ||
| - | unequip_item(player, | + | unequip_item(player, |
| </ | </ | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||