BIS fnc VRSpawnSelector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.24
|1.24


|gr1= VR
|gr1= VR
Line 9: Line 8:
|descr= Spawns the course selector (used primarily for VR missions).
|descr= Spawns the course selector (used primarily for VR missions).


|s1=[center, type] call [[BIS_fnc_VRSpawnSelector]]
|s1= [center, type] call [[BIS_fnc_VRSpawnSelector]]


|p1= center: [[Position]]
|p1= center: [[Position]]
|p2= type: [[String]] - (Optional, default "default") Can be:<br>
|p2= type: [[String]] - (Optional, default "default") can be:<br>
"default" (blue)<br>
"default" (blue)<br>
"incomplete" (orange)<br>
"incomplete" (orange)<br>
Line 18: Line 17:
"exit" (red)
"exit" (red)


|r1=[[Object]] - Created object for easy deletion
|r1= [[Object]] - created object for easy deletion


|x1= <code>[ [0,0,0], "exit" ] [[call]] [[BIS_fnc_VRSpawnSelector]];</code>
|x1= <sqf>[[0,0,0], "exit"] call BIS_fnc_VRSpawnSelector;</sqf>


|seealso= [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]], [[:Category:Function Group: VR|VR functions]]
|seealso= [[Arma 3: Virtual Reality Custom Courses|Arma 3 VR Custom Courses]] [[:Category:Function Group: VR|VR functions]]
}}
}}

Latest revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

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

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:
Arma 3 VR Custom Courses VR 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