Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • modeltoggle

modeltoggle · Changes

Page history
Create Skills/Mechanics/modeltoggle authored May 10, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 0 deletions
+18 -0
  • Skills/Mechanics/modeltoggle.md Skills/Mechanics/modeltoggle.md +18 -0
  • No files found.
Skills/Mechanics/modeltoggle.md 0 → 100644
View page @ a3bd435c
## Description
Switches the item's CustomModelData value between two specified ones each time this mechanic is triggered
## Attributes
| Attribute | Aliases | Description | Default Value |
|----------------|-------------|---------------------------------------------------------|---------------|
| model1 | | The first CustomModelData value | |
| model2 | | The second CustomModelData value | |
## Examples
```yaml
Skills:
- modeltoggle{model1=10;model2=30} @self ~onUse
```
## Alias
- [x] togglemodel
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Custom Blocks
  • Furniture
  • Crafting Recipes
  • Custom Bags
  • Ammo System / Guns
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions