User Tools

Site Tools


crpl:docs:removeimages

<- CRPL reference <- Image Commands

RemoveImages

ArgumentsResultNotation
A unit UID i1 –

Description

Deletes all image associations for a unit excluding the main image. This is useful for resetting an object which has many images.

Examples

#Make the second image disappear when the user unpauses.
Self RemoveImages

:awake
#Set the main image to Custom0 an game load
Self "main" "Custom0" SetImage
#add another image on game load
Self "alt" "Custom1" SetImage
crpl/docs/removeimages.txt · Last modified: 2021/02/05 11:44 by Karsten75