headshot101588 10 Posted February 24, 2019 I've found the class name for an object I want to place the only problem is that it's not showing up in Eden. I've found the class name and tried to search for it in Eden's search but nothing showed up. Share this post Link to post Share on other sites
EO 11277 Posted February 24, 2019 What is the object? Share this post Link to post Share on other sites
headshot101588 10 Posted February 24, 2019 1 minute ago, EO said: What is the object? Its a certain building from the map Celle 2, the good people 😄 on the scripting form helped me out finding the class name: the full string that was returned [["mbg_comapnybuilding_1.p3d","mbg\mbg_celle2_objects\mbg_companybuilding_1.p3d",true],"Land_companybuilding_1"] Share this post Link to post Share on other sites
EO 11277 Posted February 24, 2019 Sorry, I thought you were maybe referring to a vanilla A3 object. I'm not familiar with the Celle 2 assets. Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted February 24, 2019 1 hour ago, headshot101588 said: in Eden's search but nothing showed up. Hello there headshot101588 ! create an .sqf and exec this in an initserver.sqf add inside : _pos = getmarkerPos "marker_1"; _Building = "CamoNet_INDP_F" createVehicle _pos; // add here the building classname _Building setDir 360; // direction and add an empty marker in the editor and name this "marker_1" Share this post Link to post Share on other sites
headshot101588 10 Posted February 25, 2019 On 2/24/2019 at 9:56 PM, GEORGE FLOROS GR said: Hello there headshot101588 ! create an .sqf and exec this in an initserver.sqf add inside : _pos = getmarkerPos "marker_1"; _Building = "CamoNet_INDP_F" createVehicle _pos; // add here the building classname _Building setDir 360; // direction and add an empty marker in the editor and name this "marker_1" This works only it says there is an error on line three: Error invalid number in expression Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted February 25, 2019 2 minutes ago, headshot101588 said: _Building setDir 360; // direction https://community.bistudio.com/wiki/setDir Share this post Link to post Share on other sites