Page tree
Skip to end of metadata
Go to start of metadata

Introduced in



Description:For a given object, this function does the following:
  1. Loops through all object proxies in class CfgNonAiVehicles and filters them by their simulation type.
  2. Returns all the proxies found.

The function can also be used with a specific model path, if you want to find out all proxies of a certain model.


Syntax:[obj, simType, flush] call fn_vbs_getSimulationProxies
  • obj: Object - The object whose proxies you want to query.
  • simType: String - The simulation type to filter or the path to the proxy model.
  • flush: Boolean - Forces the search cache to be flushed (optional, default: false).
Return Value:Array - An array of proxy objects, where each object is also an array with the following parameters:
  • path: String - The proxy path, including proxy index.
  • pos: Position-2 - The position in the model space of the proxy.
  • vectors: Array - A vector array that includes:
  • index: Number - The proxy index.


When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Functions A-Z.


_simProxies = [tank1, "maverickWeapon"] call fn_vbs_getSimulationProxies; 

Additional Information

See also: fn vbs getProxyMagazines