I think it would be PlayCustomAnimation(OBJECT_SELF, "playflute", 0); if you're writing it within a script in the toolset. If you mean in the game, then you might be able to do it by selecting yourself, then opening the command console (~), and typing
Not sure if that will work. It's been a while. That only plays the animation, though, it doesn't apply the musical effect. This resource was designed for modders to use in their modules, but with enough scripting knowledge, you can use it in-game, too.
2 comments
DebugMode 1
runscript PlayCustomAnimation(OBJECT_SELF, "playflute", 0)
Not sure if that will work. It's been a while. That only plays the animation, though, it doesn't apply the musical effect. This resource was designed for modders to use in their modules, but with enough scripting knowledge, you can use it in-game, too.