Difference between revisions of "AddIconToken"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Not really sure - think this places an icon marker on the minimap </onlyinclude> There are two variants, one of which will also accept a color (SColor). <syntax...") |
(No difference)
|
Revision as of 21:55, 14 August 2012
Not really sure - think this places an icon marker on the minimap
There are two variants, one of which will also accept a color (SColor).
void AddIconMarker( const string &marker, const string &texture, dimension2di frameDimension, int frame, [[SColor]] color )
Example from Entities/Characters/Scripts/BuilderInventory.as:
void [[onInit]]( [[CInventory]]@ this ) { AddIconMarker( "$EmptyShop$", "Entities/Workshops/Sprites/WorkshopIcons.png", dimension2di(16,16), 0 ); }