Sign in to follow this  
Followers 0
Helldog

mission.sqm multiple "sides" in one class

7 posts in this topic

Hey guys,

 

i am trying to remove some buildings from the map, which worked fine.

i used the small grass trimmer with this code to delete the objects:

this enableSimulation false; this allowDamage false; delh = [0,0,0] nearestObject 1779863; delh hideObject true; delh = [0,0,0] nearestObject objectid; delh hideObject true;

 

workes great!

 

i added the code to my server into the vehicle class.

the existing "Exile_Unit_GhostPlayer" are using the "GUER" side, but the grass trimmer is using the "EMPTY" side.

 

my code:

class Groups
	{
		items=1;
		class Item0
		{
			class Vehicles
			{
				items=138;
				class Item0
				{
					position[]={13237.161,20.660374,11705.338};
					special="NONE";
					id=0;
					side="GUER";
					vehicle="Exile_Unit_GhostPlayer";
					player="PLAY CDG";
					leader=1;
					skill=0.60000002;
				};
.
.
.
.
.
				class Item100
				{
					position[]={13355.711,173.07205,8631.1895};
					id=100;
					side="EMPTY";
					vehicle="Land_ClutterCutter_small_F";
					skill=0.60000002;
					init="this enableSimulation false; this allowDamage false; delh = [0,0,0] nearestObject 1779863; delh hideObject true; 					   delh = [0,0,0] nearestObject 150365; delh hideObject true;";
				};

 

the problem is, the server isnt showing me any free slots, because he dont get that the "Exile_Unit_GhostPlayer" is on the "GUER" side....

i hope you know what i mean.. :D

 

 

thank you!

Edited by Helldog

Share this post


Link to post
Share on other sites

Try to creat a new class vehicles that should work i guess 

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
6 minutes ago, EXPAndMore said:

Try to creat a new class vehicles that should work i guess 

 

not sure but i think i cant create two vehicle classes... i will find it out.

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.