User Tools

Site Tools


4rpl:commands:setunitminimapimage

This is an old revision of the document!


Index

:!: Available in version 1.3 and later.

SetUnitMiniMapImage

SetUnitMiniMapImage(<-unit <-imageData)

Description

Sets the minimap image to appear for the unit. The imageData is a string consisting of 0 and 1 characters. It should be 144 characters long (a 12×12 square) with the top left corner being the first 'pixel' of the resulting image.

Examples

"111111111111 
 100000000001 
 101000000001 
 101000100001 
 101000100001 
 101111111001 
 100000100001 
 100000100001 
 100000100001 
 100000000001 
 111111111111" RemoveWhiteSpace ->miniMapImage
SetUnitMiniMapImage(self <-miniMapImage)

Index

4rpl/commands/setunitminimapimage.1611964352.txt.gz · Last modified: 2021/01/29 18:52 by virgilw