BIS fnc assignPlayerRole: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Undo revision 237218 by R3vo (talk))
Tag: Undo
Line 34: Line 34:


[[Category:{{Name|tkoh}}: Functions|{{uc:assignPlayerRole}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:assignPlayerRole}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:assignPlayerRole}}]]

Revision as of 15:36, 2 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object - targeted vehicle
role: String - can be one of:
  • "driver"
  • "gunner"
  • "commander"
  • "cargo"
  • "turret"
path: Array or Number - the turret path
Return Value:
Return value needed

Examples

Example 1:
[myVehicle, "turret", [0, 1]] call BIS_fnc_assignPlayerRole;

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