isMarkedForCollection: Difference between revisions

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


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


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


| Checks whether the object is marked for weapons collection. |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| [[Boolean]] <nowiki>=</nowiki> '''isMarkedForCollection''' [[Object#Vehicle|Vehicle]]|= Syntax
|game4= tkoh
|version4= 1.00


|p1= [[Object#Vehicle|Vehicle]] |= Parameter 1
|game5= arma3
|version5= 0.50


| [[Boolean]] |= Return value
|arg= global
____________________________________________________________________________________________
 
|x1= <pre>_marked = isMarkedForCollection _truck</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|gr1= Object Manipulation


}}
|descr= Checks whether the object is marked for weapons collection.
 
|s1= [[isMarkedForCollection]]  object
 
|p1= object: [[Object]]


<h3 style="display:none">Notes</h3>
|r1= [[Boolean]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_marked = isMarkedForCollection _truck;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso=
[[Category:Scripting Commands|ISMARKEDFORCOLLECTION]]
}}
[[Category:Scripting Commands OFP Elite |ISMARKEDFORCOLLECTION]]
[[Category:Scripting Commands ArmA|ISMARKEDFORCOLLECTION]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:24, 7 May 2022

Hover & click on the images for description

Description

Description:
Checks whether the object is marked for weapons collection.
Groups:
Object Manipulation

Syntax

Syntax:
isMarkedForCollection object
Parameters:
object: Object
Return Value:
Boolean

Examples

Example 1:
_marked = isMarkedForCollection _truck;

Additional Information

See also:
See also needed

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