Can you somehow explain how do you make an animation for a model which only plays when something triggers it? Just wanna learn things like this.
sorry for the massive bump, only just noticed this comment.
The triggered animations of a resupply cabinet are hard-coded into the entity, so as long as your model has an 'open', a 'close', and an 'idle' it will work.
As to triggered animations in other cases you can use the input 'SetAnimation' to trigger a change (e.g., to switch from idle to open)