This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
4rpl:commands:setunitminimapimage [2021/01/31 13:57] – virgilw | 4rpl:commands:setunitminimapimage [2021/06/21 06:11] – only works for custom units heritor | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Description ===== | ===== Description ===== | ||
- | Sets the minimap image to appear | + | Sets the minimap image for the unit. The imageData is a string consisting of 0, 1, and 2 characters. It should be 144 characters long (a 12x12 square) with the top left corner being the first ' |
+ | Note that this only works for custom units - built-in units cannot have their image overwritten. | ||
===== Examples ===== | ===== Examples ===== |