ID:1625267
 
(See the best response by Lugia319.)
Hey guys I was looking to find a transforming code that is simple enough for me to use in different ways and allows me to edit that I see fit. I tried using: verb
Transformation()
set category = "Fighting"
usr.icon = 'Transformation.dmi'

But that did not work, please explain why and please give me one that would work. In my transformation I have the player doing a small animation going into it and then the last frame is the actual thing of it, also I have the Movement icon state for it aswell so if you could tell me how to officially do a transformation with movement and animation in and out of it that would be great. Thank you!!
Best response
This looks like it should be in dev help.

Movement state isn't useful unless you want like walking animations. You might want to take a look into flick()

As for why your code didn't work, there's nothing syntactically wrong with it as far as I see. If the player has an icon state, the icon state will be carried over. If there's no icon with the icon state in Transformation.dmi, then it will be invisible.