How can I get an image to sync to the icon_state of the loc it is set to?
var/image/i = image('clothing.dmi')
i.loc = src
src << i
If we do something like that, the hamster will just be a static object that hovers over the user and adjusts direction to the users direction, but any changes to the user's icon_state will not apply to the image.
This can be solved by adding the image as an overlay, but this turns the image to an appearance in the overlay list, it is no longer an image and cannot be modified, nor can it be shown to one person only with src << i
vis_contents can be made to sync icon_state with the vis_flags variable.
There is no such thing for images, and while I am sure icon_states were synced for images at one point, this seems to no longer be the case.
What can I do to get the image icon_state to sync?
Sep 28, 9:53 am
Login to reply.