CarlGustaffa 4 Posted February 17, 2009 Hi I'm trying to place the object "AAHO084" in my mission, the hospital. But it doesn't work unless I have the EditorUpdate_v102 loaded. Is there any other way to place this object in a mission without the need for addon? The addon cofig looks like this (excluding parent): <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class AAHO084 : AAHouse { displayName =$STR_ED_AAHO084; model = "\ca\buildings\hospital.p3d"; scope = public; armor = 500; icon = "\ca\ui\data\map_hospital_ca.paa"; class DestructionEffects { class Ruin1 { simulation = "ruin"; type = "\ca\buildings\ruins\hospital_ruins.p3d"; position = ""; intensity = 1; interval = 1; lifeTime = 1; }; }; }; If I try to place it without the addon, I obviously get an error message. Any ideas how to do this? Share this post Link to post Share on other sites
Planck 1 Posted February 17, 2009 Try: medcent = "Land_hospital" createVehicle _pos Where _pos is the position you want it at. Planck Share this post Link to post Share on other sites
CarlGustaffa 4 Posted February 17, 2009 Yes, that worked like a charm. Thanks. Have no idea where you found the classname though Anyways, problem solved. Share this post Link to post Share on other sites
hoz 0 Posted February 19, 2009 He found the class names here. Share this post Link to post Share on other sites