isSimpleObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.68


|1.68|Game version=
|gr1= Object Manipulation


|gr1= Object Manipulation |GROUP1=
|descr=Returns [[true]] if given object is [[createSimpleObject|simple object]]
____________________________________________________________________________________________


|Returns [[true]] if given object is [[createSimpleObject|simple object]]|DESCRIPTION=
|s1= [[isSimpleObject]] object
____________________________________________________________________________________________


| '''isSimpleObject''' object |SYNTAX=
|p1= object: [[Object]]


|p1= object: [[Object]] |PARAMETER1=
|r1= [[Boolean]]


| [[Boolean]] |RETURNVALUE=
|x1= <sqf>_isSimple = isSimpleObject _obj1;</sqf>
____________________________________________________________________________________________
 
|x1= <code>_isSimple = [[isSimpleObject]] _obj1;</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[createSimpleObject]], [[allSimpleObjects]], [[nearestObjects]], [[nearObjectsReady]], [[nearObjects]], [[nearestObject]] |SEEALSO=


|seealso= [[createSimpleObject]] [[allSimpleObjects]] [[nearestObjects]] [[nearObjectsReady]] [[nearObjects]] [[nearestObject]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 21:24, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns true if given object is simple object
Groups:
Object Manipulation

Syntax

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

Examples

Example 1:
_isSimple = isSimpleObject _obj1;

Additional Information

See also:
createSimpleObject allSimpleObjects nearestObjects nearObjectsReady nearObjects nearestObject

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