NoveltyML reference > Object traits > GameStateThumbnail

<GameStateThumbnail>

Replaces the texture resource with one that holds a game state thumbnail (if available)
This trait applies to Image objects only.

Remarks: Thumbnails are stored as 256x256 textures.


Attributes

Attribute Description
hide Hide if unavailable
slot Game state slot


hide [bool]

Hides this object if the game state does not exist.

Example:
hide = "true"


slot [integer]

Game state slot index.
0 to 100, where 0 is the quick save.

Example:
slot = "1"


Example

<Image name="Game thumbnail" texture="null" size="128,96">
	<Traits>
		<GameStateThumbnail slot="1" hide="true"/>
	</Traits>
</Image>

Back to top