• 0
Mezo

Additional Buildings Not Spawning

Question

Hey Guys,

I know I'm doing this right, Just not 100% sure there isn't a syntax error or something.

setTimeMultiplier 5;
_objects =
[
    //Your custom objects go here
    ["Land_Dome_Small_F",[1112.69,2511.57,0],0,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1112.75,2485.62,0.122678],0,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1115.43,2491.61,0.13114],270.636,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1109.9,2491.65,0.130173],270.653,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1115.49,2531.44,0.123204],90.9574,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1109.88,2531.49,0.127494],88.7831,[0,0,1],false],
	["Land_CncBarrierMedium4_F",[1112.54,2536.66,0],0,[[0,1,0],[0,0,1]],false],
	["Land_ScrapHeap_2_F",[1107.37,2495.19,0],144.149,[0,0,1],false],
	["Land_ScrapHeap_1_F",[1102.17,2498.77,0],282.872,[[-0.974869,0.222779,0],[0,0,1]],false]
];

{
    private ["_object"];

    _object = (_x select 0) createVehicleLocal [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object enableSimulation false; // :)
}
forEach _objects;

As I said before, I know it's in the right place. But can't figure out why it's not spawning. Keep in mind this is Chernarus.

Cheers,

Mezo :)

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

 ["Land_HBarrier_5_F",[3982.36,9354.78,0],0,0,0,false],

Format

If you are using M3editor just save the projecct and copy & paste from it. 

 

Edited by Digital Purge

Share this post


Link to post
Share on other sites
Advertisement
  • 0

 ["Land_HBarrier_5_F",[3982.36,9354.78,0],0,0,0,false],

Format

If you are using M3editor just save the projecct and copy & paste from it. 

 

I did use M3Editor, this is the exported positions added to the initServer.sqf

Share this post


Link to post
Share on other sites
  • 0

I save the project and use the code it saves in there as it matches the code that was already in it

 

Share this post


Link to post
Share on other sites
  • 0

I did use M3Editor, this is the exported positions added to the initServer.sqf

did you figure it

 

Share this post


Link to post
Share on other sites
  • 0

did you figure it

 

Yeah, all fixed.. Thanks for your help ;)

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

  • Recently Browsing   0 members

    No registered users viewing this page.