Jump to content
Sign in to follow this  
CarlGustaffa

Placing the hospital building in mission

Recommended Posts

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

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

Yes, that worked like a charm. Thanks. Have no idea where you found the classname though smile_o.gif

Anyways, problem solved.

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
Sign in to follow this  

×