BIS fnc objectVar: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}")
Line 17: Line 17:
| [[String]] - generated variable name
| [[String]] - generated variable name


|x1= <code>[[hint]] [[str]] ([[player]] [[call]] [[BIS_fnc_objectVar]]); {{codecomment|// "bis_o1"}}
|x1= <code>[[hint]] [[str]] ([[player]] [[call]] [[BIS_fnc_objectVar]]); {{cc| "bis_o1"}}[[hint]] [[str]] ([[player]] == ([[missionNamespace]] [[getVariable]] "bis_o1")); {{codecomment|// true}}</code>
[[hint]] [[str]] ([[player]] == ([[missionNamespace]] [[getVariable]] "bis_o1")); {{codecomment|// true}}</code>


| [[netId]], [[objectFromNetId]], [[setVariable]], [[setVehicleVarName]]
| [[netId]], [[objectFromNetId]], [[setVariable]], [[setVehicleVarName]]

Revision as of 16:30, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
varNameRoot: String - (Optional, default "bis_o") - variable name root - a number will be added behind it
Return Value:
Return value needed

Examples

Example 1:
hint str (player call BIS_fnc_objectVar); // "bis_o1"hint str (player == (missionNamespace getVariable "bis_o1")); // true

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