configOf: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command
{{Command


|game1= arma3 |Game name=
|game1= arma3


|version= 2.00 |Game version=
|version= 2.00


|arg= global |Multiplayer Arguments ("local" or "global")=
|arg= global


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


|gr2= Config |GROUP2=
|gr2= Config


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


|s1= [[configOf]] obj |Syntax=
|s1= [[configOf]] obj


|p1= obj: [[Object]] |Parameter 1=
|p1= obj: [[Object]]


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


|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>


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



Revision as of 00:12, 18 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