importance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.08|Game version=
|1.08


|arg= |Multiplayer Arguments=
|arg=


|eff= |Multiplayer Effects=
|eff=


|gr1= Locations |GROUP1=
|gr1= Locations


| Returns a location's importance value.|DESCRIPTION=
| Returns a location's importance value.


| '''importance''' location |SYNTAX=
| '''importance''' location


|p1= location: [[Location]] |PARAMETER1=
|p1= location: [[Location]]


| [[Number]] |RETURNVALUE=
| [[Number]]
   
   
|x1= <code>_locationImportance = [[importance]] myLocation</code> |EXAMPLE1=
|x1= <code>_locationImportance = [[importance]] myLocation</code>


| [[setImportance]] |SEEALSO=
| [[setImportance]]


}}
}}

Revision as of 01:41, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns a location's importance value.
Groups:
Locations

Syntax

Syntax:
importance location
Parameters:
location: Location
Return Value:
Number

Examples

Example 1:
_locationImportance = importance myLocation

Additional Information

See also:
setImportance

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

Bottom Section