createTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(31 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{future-use}}
{{RV|type=command
[[Category:Scripting Commands|CREATETARGET]]
[[Category:Scripting Commands ArmA|CREATETARGET]]


{{Command|= Comments
|game1= arma1
____________________________________________________________________________________________
|version1= 1.00


| arma |= Game name
|game2= arma2
|version2= 1.00


x1= t|1.00|= Game version
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Create a target. <b>Not yet implemented.</b>  |= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| [[Target]] <nowiki>=</nowiki> obj '''createTarget''' [type, position, typeAccuracy, posAccuracy] |= Syntax
|game5= arma3
|version5= 0.50


|p1= obj: [[Object]] |= Parameter 1
|gr1= Broken Commands


|descr= Create a target.


|p2= [type, position, typeAccuracy, posAccuracy]: [[Array]]  |= Parameter 2
|pr= {{Feature|warning|This command is not implemented.}}


|p3= type: [[String]] |= Parameter 3
|s1= obj [[createTarget]] [type, position, typeAccuracy, posAccuracy]


|p4= position: [[Position]] Placement |= Parameter 4
|p1= obj: [[Object]]


|p5= typeAccuracy: [[Number]] |= Parameter 5
|p2= type: [[String]]


|p6= posAccuracy: [[Number]] |= Parameter 6
|p3= position: [[Position]] Placement


| [[Target]] |= Return value
|p4= typeAccuracy: [[Number]]
____________________________________________________________________________________________


____________________________________________________________________________________________
|p5= posAccuracy: [[Number]]


| [[moveTarget]], [[deleteTarget]] |= See also
|r1= [[Target]]


|x1= <sqf>_target = createTarget ["targetType", [0,0,0], 1, 1];</sqf>
|seealso= [[moveTarget]] [[deleteTarget]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 00:25, 2 February 2024

Hover & click on the images for description

Description

Description:
Create a target.
Problems:
This command is not implemented.
Groups:
Broken Commands

Syntax

Syntax:
obj createTarget [type, position, typeAccuracy, posAccuracy]
Parameters:
obj: Object
type: String
position: Position Placement
typeAccuracy: Number
posAccuracy: Number
Return Value:
Target

Examples

Example 1:
_target = createTarget ["targetType", [0,0,0], 1, 1];

Additional Information

See also:
moveTarget deleteTarget

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