setImportance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(46 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.08


|unknown|= Game version
|game2= arma2
|version2= 1.00


|arg= |= Arguments in MP
|game3= arma2oa
|version3= 1.50


|eff= |= Effects in MP
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| Sets the importance value of location.|= Description
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| [[Location]] '''setType''' [[Number]]|= Syntax
|gr1= Locations


|p1= [[Location]] |= Parameter 1
|descr= Sets the importance value of location.
|p2= [[Number]] |= Parameter 2


| [[Nothing]] |= Return value
|s1= location [[setImportance]] value
____________________________________________________________________________________________
 
|x1= <pre>myLocation setImportance 2</pre> |= Example 1
____________________________________________________________________________________________


| [[importance]] |= See also
|p1= location: [[Location]]
|p2= value: [[Number]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>myLocation setImportance 2;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[importance]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
 
 
[[Category:Scripting Commands|SETTYPE]]
[[Category:Scripting Commands ArmA|SETTYPE]]
[[Category:Command_Group:_Locations|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:25, 5 May 2022

Hover & click on the images for description

Description

Description:
Sets the importance value of location.
Groups:
Locations

Syntax

Syntax:
location setImportance value
Parameters:
location: Location
value: Number
Return Value:
Nothing

Examples

Example 1:
myLocation setImportance 2;

Additional Information

See also:
importance

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