ID:139251
 
Well i am making a move that is meant to gorw on the skin of your layer and then stay on your play when you move around. But i can't get the player icon to stay behide the animationi have made i was useing the flick proc but that makes the icon dissapper completely and replace with somthing else for a short pereared here's my coding so far

mob
verb
Curse_Mark()
set src in view(1)
name = "Curse Mark"
desc = "The first stage of curse mark"
icon = 'Curse mark.dmi'
icon_state = "on player"
flick('Curse mark.dmi',usr)
What you're doing here is changing the player icon instead of adding the curse mark icon. What you'd need to do is add it to the player with overlays+='cursemark.dmi'


Then you would flick the mob and it will show up properly, though, you'll need to make an icon state in the icon for the mob so that when you do the flick for the overlay, the main icon doesn't disappear.
In response to Bravo1
i not sure what u mean by the second part. Have i got to make a icon in "player Normal" (my mob icon file) that is in the stance for Curse mark
In response to Jamesy577
here's what i got i think this is right but i don't get how to make the player stop moveing and for the animation to work yet
mob
verb
Curse_Mark()
set src in view(0)
name = "Curse Mark"
desc = "The first stage of curse mark"
overlays+='Curse mark.dmi'
icon_state = "on player"
In response to Jamesy577
You need to seperate icon states for moving an non-moving. the non moving can be left blank and the movement icon you have to right click and select "edit state" and then check the "movement state" box. This will make it move only when the player is moving.