Changes
Page history
Update modeltoggle
authored
Oct 16, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/modeltoggle.md
View page @
aaac88b7
## Description
## Description
Switches the item's CustomModelData value between two specified ones each time this mechanic is triggered
Switches the item's CustomModelData value between two specified ones each time this mechanic is triggered
## Attributes
## Attributes
| Attribute | Aliases | Description | Default |
| Attribute | Aliases | Description | Default |
|----------------|-------------|---------------------------------------------------------|---------------|
|----------------|-------------|---------------------------------------------------------|---------------|
| model1 | | The first CustomModelData value | 0 |
| model1 | m1 | The first CustomModelData value | 0 |
| model2 | | The second CustomModelData value | 0 |
| model2 | m2 | The second CustomModelData value | 0 |
| slot | equipslot, s | The
[
slot
](
/../../../MythicMobs/-/wikis/Skills/EquipSlot
)
to target | |
## Examples
## Examples
...
@@ -14,5 +16,6 @@ Switches the item's CustomModelData value between two specified ones each time t
...
@@ -14,5 +16,6 @@ Switches the item's CustomModelData value between two specified ones each time t
-
modeltoggle{model1=10;model2=30} @self ~onUse
-
modeltoggle{model1=10;model2=30} @self ~onUse
```
```
## Alias
## Aliases
-
[x] togglemodel
-
[x] togglemodel
\ No newline at end of file