Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 113
    • Issues 113
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Skills
    • Mechanics
  • DismountModel

DismountModel · Changes

Page history
wiki standardization authored Oct 21, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 1 addition and 1 deletion
+1 -1
  • Skills/Mechanics/DismountModel.md Skills/Mechanics/DismountModel.md +1 -1
  • No files found.
Skills/Mechanics/DismountModel.md 0 → 100644
View page @ 058ef9f7
[< Back to mechanic page](/Skills/Mechanics)
## Description
Dismount driver or specific passengers riding on list of mount bones.
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-----------|----------|-----------------------------------------------------------------------------------------|---------|---------|
| driver | d, drive | Is dismounting driver.<br/>If true, this will dismount the driver regardless of target. | Boolean | true |
#### When driver = false
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------|
| modelid | m, mid, model | Targeted model | String | |
| seat | p, pbone | Targeted mount bones (e.g. bone1,bone2,bone3).<br/>If not set, this will just dismount the target from the model.<br/>Otherwise, it will only dismount the target if they are riding on one of the specified bones | String List | |
# Examples
This example would mount a player to a specific bone when they right click, and dismount the rider when the mob takes damage
```yaml
Skills:
- model{m=elk;usm=true;drive=true;ride=true;n=nametag} @self ~onSpawn
- mountmodel{mid=elk;d=false;p=seat2} @trigger ~onInteract
# Dismount when the mob takes damage
- dismountmodel{m=elk;p=seat2} @self ~onDamaged
```
\ No newline at end of file
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration

Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
  • Optional Tools
MythicMobs
  • Mechanics
  • Conditions
  • Targeters
Citizens (R4.0.4)
  • Trait
  • Commands & Permissions

API
  • Basic
    • Apply / Remove Model
    • Play / Stop Animation
    • Configure Bone Behaviors
    • Mounting / Dismounting Model
    • Per-Player Model
    • Events
  • Advanced
    • Custom Base Entity
    • Custom Mount Controller
    • Custom Importer
    • Custom Bone Behaviors
    • Custom Script Reader
    • Custom Timeline
    • Custom Animation Handler
    • Custom Render Type

Technical
  • Terminology
  • Animation Systems
  • Mount Controllers
Promotional Material