configOf: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (made it to stable as well)
m (Text replacement - "_{10,} " to "")
Line 10: Line 10:


|gr2= Config |GROUP2=
|gr2= Config |GROUP2=
____________________________________________________________________________________________


|descr= Returns config path of the provided object. |Description=
|descr= Returns config path of the provided object. |Description=
____________________________________________________________________________________________


|s1= [[configOf]] obj |Syntax=
|s1= [[configOf]] obj |Syntax=
Line 20: Line 18:


|r1= [[Config]]|RETURNVALUE=
|r1= [[Config]]|RETURNVALUE=
____________________________________________________________________________________________


|x1=  <code>[[configOf]] [[player]]; {{cc|returns bin\config.bin/CfgVehicles/B_W_Soldier_TL_F}}</code> |Example 1=
|x1=  <code>[[configOf]] [[player]]; {{cc|returns bin\config.bin/CfgVehicles/B_W_Soldier_TL_F}}</code> |Example 1=
____________________________________________________________________________________________


|seealso= [[typeOf]] |See Also=
|seealso= [[typeOf]] |See Also=

Revision as of 01:20, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns config path of the provided object.
Groups:
Object ManipulationConfig

Syntax

Syntax:
configOf obj
Parameters:
obj: Object
Return Value:
Config

Examples

Example 1:
configOf player; // returns bin\config.bin/CfgVehicles/B_W_Soldier_TL_F

Additional Information

See also:
typeOf

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

Bottom Section