BIS fnc VRSpawnSelector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.24|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Spawns the course selector (used primarily for VR missions). |= Description
____________________________________________________________________________________________


Description:
| [center, type] call [[BIS_fnc_VRSpawnSelector]] |= Syntax
Spawns the Course selector (used primarily for VR missions).
____________________________________________________________________________________________


Parameter(s):
|p1= center: [[Position]]|= Parameter 1
0: ARRAY - position
|p2= type: [[String]] - (Optional, default "default") Can be:<br>
1: STRING (Optional) - selector variant ("default", "incomplete", "complete", "exit")
"default" (blue)<br>
"incomplete" (orange)<br>
"complete" (dark orange)<br>
"exit" (red) |=Parameter 2
____________________________________________________________________________________________


Returns:
| [[Object]] - Created object for easy deletion|= Return value
Selector object
____________________________________________________________________________________________
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <code>[ [0,0,0], "exit" ] [[call]] [[BIS_fnc_VRSpawnSelector]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_VRSpawnSelector]]; --> |= Syntax
| [[Arma3: Virtual Reality Custom Courses]], [[:Category:Function Group: VR|VR functions]]|= See also
}}


|p1= |= Parameter 1


| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=
____________________________________________________________________________________________
| |= See also
}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 15:50, 4 June 2018

Hover & click on the images for description

Description

Description:
Spawns the course selector (used primarily for VR missions).
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[center, type] call BIS_fnc_VRSpawnSelector
Parameters:
center: Position
type: String - (Optional, default "default") Can be:
"default" (blue)
"incomplete" (orange)
"complete" (dark orange)
"exit" (red)
Return Value:
Object - Created object for easy deletion

Examples

Example 1:
[ [0,0,0], "exit" ] call BIS_fnc_VRSpawnSelector;

Additional Information

See also:
Arma3: Virtual Reality Custom CoursesVR functions

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



Notes

Bottom Section