• 0
Erzengel

Lootspawn on a single object is not working

Question

Hey, iam working on a very simple helicrash script. the chopper crash sites are spawned in by an pbo, which is working quite good. the only problem is that there is no loot spawning at all.

the chopper spawned in by the pbo has the classname

Exitem_UH1YWreck

so i went into the serverconfigs's cpp and added 

class Exitem_UH1YWreck
	{
		table = "Military";
		positions[] = {{-1.17383, 8.0918, -2.79785}, {2.92285, -9.17188, -2.77692}, {3.7041, 0.40918, -2.84418}, {-0.260742, -9.69434, -2.67627}, {2.69434, 7.49609, -2.72632}, {1.69922, 10.1006, -2.71313}, {6.04102, 1.19434, -2.90607}, {4.15332, -3.63574, -2.86328}, {0.224609, 4.14941, -2.80768}, {-1.55957, 1.5957, -2.79156}, {-3.49121, 5.05664, -2.82739}, {2.37891, -5.42676, -2.78564}, {-4.07129, -2.78711, -2.71198}, {-1.16895, -6.24023, -2.71613}, {6.19141, -1.70313, -2.93707}, {2.27148, 3.82129, -2.76392}, {-0.84082, -0.824219, -2.7915}, {-4.71973, 1.80469, -2.78058}, {2.14648, -1.65723, -2.79163}};
	};

below the military section ..

what am i doing wrong ? it works as soon as i take an vanilla wreck for some reason.

I tried to play around with the positions seen above for example set the z-coordinate to 0 but nothing and nothing and nothing happens

helicrash.png

Edited by Erzengel
Spellingmistakes

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

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

  • Recently Browsing   0 members

    No registered users viewing this page.