Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is an icon state?

Icon State
0
Posted

What is an icon state?

0

An icon can have different images or animations to display for different circumstances, such as a living and a dead version of a Goblin, and each of these is called an icon state. A dmi file is made up of one or more icon states. When you open a dmi file in DreamMaker, each image you see represents one icon state for that dmi file; the icon state can be a single image or an animation. You can double-click the icon state to edit it, or right-click and use the content menu. In the simplest case, the dmi file has only one icon state, and that is used whenever that dmi file is used. For more complex situations, objects that can be displayed in the map have an icon_state variable. By default this is null, but you can set it to any value you want. If an object’s icon_state variable is set, then BYOND looks in the dmi file for an icon state of the same name. So say you have a barrel which is normally a fine upstanding barrel, but when dumped into the ocean it bobs up and down. To implement th

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123