ID:262008
 
Hi,

Has anyone tried to use the Flip proc yet? I have been trying and can't get it to work.

If anyone knows how to use it please speak up.

Mousie
Mousie_kebabs wrote:
Hi,

Has anyone tried to use the Flip proc yet? I have been trying and can't get it to work.

If anyone knows how to use it please speak up.

Mousie

Try this:
mob

verb/FlipMe()
var/icon/I = new(icon)
I.Flip(NORTH)
icon = I


I'm guessing you are trying to use it by just using something like 'mob.icon.Flip(NORTH)', which won't work. The icon var is not quite the same as an /icon datum.