Returns the preview picture for the specified vehicle type.
The definition for the preview image is taken from the
|Return Value:||String - Path to preview image. Returns an empty string, if none is found.|
- Posted on Feb 9, 2015
- Kyle Sarnik
- This command will reliably get the preview picture for CfgVehicles classes where getText on the 'preview' property may fail. The reason is that some content in VBS does not define the preview property in the configs and relies on engine functionality to find the preview picture based on filenames. This command seems to correctly replicate the engine functionality of finding the previews by filename as well.