updateDrawIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Game 2 Editor |GROUP1=
|gr1= Game 2 Editor |GROUP1=
____________________________________________________________________________________________


| Updates the icon to be shown in 2D editor for the specified editor,object. If maintain size is false,icon will not scale depending on the,scale of the map. If maintain size is a number,the icon will maintain,size if map scale is below that number.
| Updates the icon to be shown in 2D editor for the specified editor,object. If maintain size is false,icon will not scale depending on the,scale of the map. If maintain size is a number,the icon will maintain,size if map scale is below that number.
{{Informative | Some Old Editor Command}}  |DESCRIPTION=
{{Informative | Some Old Editor Command}}  |DESCRIPTION=
____________________________________________________________________________________________


| map '''updateDrawIcon''' [object,string identifier,color,offset,width,height,maintain size?,angle,shadow] |SYNTAX=
| map '''updateDrawIcon''' [object,string identifier,color,offset,width,height,maintain size?,angle,shadow] |SYNTAX=
Line 26: Line 23:
|x1= - |EXAMPLE1=  
|x1= - |EXAMPLE1=  


____________________________________________________________________________________________


| - |SEEALSO=  
| - |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 04:14, 17 January 2021

Hover & click on the images for description

Description

Description:
Updates the icon to be shown in 2D editor for the specified editor,object. If maintain size is false,icon will not scale depending on the,scale of the map. If maintain size is a number,the icon will maintain,size if map scale is below that number.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
map updateDrawIcon [object,string identifier,color,offset,width,height,maintain size?,angle,shadow]
Parameters:
map: Control -
[object,string identifier,color,offset,width,height,maintain size?,angle,shadow]: Array -
Return Value:
Nothing

Examples

Example 1:
-

Additional Information

See also:
-

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section