Jump to content
MechSlayer

Get the editor preview image of a classname

Recommended Posts

How can I get the preview image of the objects like in the 3den editor? (When you place the cursor over a object from the list)

Share this post


Link to post
Share on other sites

In editor it's the editor preview picture:

for example: editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\B_Truck_01_ammo_F.jpg";

coming from : configfile >> "CfgVehicles" >> "B_Truck_01_ammo_F" >> "editorPreview"

 

So, you can grab it with: getText (configfile >> "CfgVehicles" >> typeOf yourVehicleHere (or directly the class name of your vehicle) >> "editorPreview")

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×