if(usr.Teleport == "Flame")
if(usr.Selforb)
view()<< "[usr] flames in!"
var/image/I=image(icon='magicgood.dmi',icon_state="Flame")
flick(I,usr)
usr.density = !usr.density
usr.invisibility = !usr.invisibility
usr.Selforb = 0
else
view()<< "[usr] flames out!"
var/image/I=image(icon='magicgood.dmi',icon_state="Flame")
flick(I,usr)
usr.density = !usr.density
usr.invisibility = !usr.invisibility
usr.Selforb = 1
Problem description:
Rushes through the Flame-in icon, not even executing the view() msg. For some reason flame out works fine though... icon is fine and it displays the view() msg. If anyone could help me out or point me in the right direction lmk, thank you ^^.
The user of this is invisible (usr.invisibility), so they can't see themself, in other words, the output of that view() does not include the user, or any other users that are invisible.
To solve this, you can try to use hearers() or alter the arguments to view().
EDIT: You could also just move the usr.invisibility = !usr.invisibility line to the very top, above the view() line to make the icon show up.