• 0
NeverAgain

[SOVED]Rusian Roulette bug ?

Question

Posted (edited)

Chair dissapear: how to fix this

577b50a976e78_arma32016-07-0508-19-41-59577b50bb801fe_arma32016-07-0508-19-51-40

577b50cdebf82_arma32016-07-0508-20-05-06577b50dde660e_arma32016-07-0508-20-05-89

///////////////////////////////////////////////////////////////////////////////////////////////////
// Russian Roulette
///////////////////////////////////////////////////////////////////////////////////////////////////

_objects =
[        
    //["Land_WoodenTable_large_F", [6330.88,7785.26,2.09867], 0, false],
    //["Exile_Sign_RussianRoulette", [6317.35,7794.25,211.942], 0, false],
    //["Land_HumanSkull_F", [14621.056, 16821.572, 18.476805], 2.0025947, false],
    //["Land_WheelCart_F", [14621.334,16821.477, 18.355867], 4.9935374, false],
    //["Land_Camping_Light_F", [6331.02,7785.23,0.849579], 0,true]
    //["Land_SportGround_fence_F", [14625.692, 16818.945, 18.791378], 0.79693103, false],
    //["Land_SportGround_fence_F", [14633.911, 16816.904, 17.9177], 5.4953084, false],
    //["Land_CargoBox_V1_F", [14619.726, 16823.613, 18.75972], 5.4931207, false],
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);; // :)
}
forEach _objects;

ExileRouletteChairs = [];

ExileRouletteChairPositions =     
[   
    [[6331.06, 7786.91, 15.661], 0.273486],    
    [[6332.14, 7786.24, 32.564], 0.568405],
    [[6332.61, 7784.37, 115.293], 2.01238],    
    [[6330.79, 7783.75, 200.927], 3.50724],
    [[6329.6, 7784.32, 209.563], 3.65779]
];

{
    private ["_chair"];

    _chair = "Land_ChairWood_F" createVehicle [0, 0, 0];
    _chair setDir (deg (_x select 1));
    _chair setPosWorld (_x select 0);
    _chair allowDamage false;
    _chair enableSimulationGlobal true;

    ExileRouletteChairs pushBack _chair;
}
forEach ExileRouletteChairPositions;

Edited by NeverAgain

Share this post


Link to post
Share on other sites

13 answers to this question

  • 0

Do you have forbiddenitems checks set to true?

 

UFI = false;    /* Use "ForbiddenItems"/Item Check(s) */
UIW = false;    /* if "UIW = true;" then it checks if the items the individual player has are in "ItemWhiteList" */
 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0
On 7/5/2016 at 7:17 AM, NeverAgain said:

ExileRouletteChairPositions =     
[   
    [[6331.06, 7786.91, 15.661], 0.273486],    
    [[6332.14, 7786.24, 32.564], 0.568405],
    [[6332.61, 7784.37, 115.293], 2.01238],    
    [[6330.79, 7783.75, 200.927], 3.50724],
    [[6329.6, 7784.32, 209.563], 3.65779]
]

Your chair altitudes are all over the place... 15.661, 32.564, 115.293, 200.927 & 209.563.

You need to find out what altitude they need for a start. Its ASL so its not 0 for on the floor. 

Share this post


Link to post
Share on other sites
Advertisement
  • 0
3 hours ago, Spackler said:

Do you have forbiddenitems checks set to true?

 

UFI = false;    /* Use "ForbiddenItems"/Item Check(s) */
UIW = false;    /* if "UIW = true;" then it checks if the items the individual player has are in "ItemWhiteList" */
 

i have

UFI = false;    /* Use "ForbiddenItems"/Item Check(s) */
UIW = false;    /* if "UIW = true;" then it checks if the items the individual player has are in "ItemWhiteList" */

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Mr Health And Safety said:

Your chair altitudes are all over the place... 15.661, 32.564, 115.293, 200.927 & 209.563.

You need to find out what altitude they need for a start. Its ASL so its not 0 for on the floor. 

ASL I tried, but unfortunately the same result.

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

1 hour ago, Mr Health And Safety said:

Post your code with the ASL

i deleted

but this is from m3editor  

 

["Land_ChairWood_F",[6330.72,7784.78,-0.0062561],121.54,0,0,false],
    ["Land_ChairWood_F",[6327.61,7786.64,-0.0072937],300.335,0,0,false],
    ["Land_ChairWood_F",[6327.78,7784.9,-0.000946045],212.444,0,0,false],
    ["Land_ChairWood_F",[6329.11,7784.23,-0.00161743],185.826,0,0,false],
    ["Land_ChairWood_F",[6329.32,7787.43,-0.00546265],28.6273,0,0,false],
    ["Land_ChairWood_F",[6330.43,7786.67,-0.00204468],41.6853,0,0,false]

Edited by NeverAgain

Share this post


Link to post
Share on other sites
  • 0

I really dont think you have set the altitude to ASL, it looks more like ATL. I dont have Chernarus installed so can not get them for you but for me on Esseker my ASL is 191.638

Share this post


Link to post
Share on other sites
  • 0
46 minutes ago, Mr Health And Safety said:

I really dont think you have set the altitude to ASL, it looks more like ATL. I dont have Chernarus installed so can not get them for you but for me on Esseker my ASL is 191.638

Please post my your chair positions

Share this post


Link to post
Share on other sites
  • 0

my chair positions wont help you as i am running Esseker so the ASL altitude will be different. But here is my whole russian roulette section of code.

Spoiler

///////////////////////////////////////////////////////////////////////////////////////////////////
// Russian Roulette
///////////////////////////////////////////////////////////////////////////////////////////////////

_objects = [];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);; // :)
}
forEach _objects;

ExileRouletteChairs = [];

ExileRouletteChairPositions = 
[
/*
hint str (getPosWorld cursortarget); copyToClipboard str(getPosWorld cursortarget); - Use in debug to get position
hint str (rad x); copyToClipboard str (rad x); - use in debug to get radius. Replace X with Deg direction
*/
[[2750.7,3696.45,191.638], 0],          //North
[[2749.7,3692.54,191.637], 3.29906],    //South
[[2751.67,3694.87,191.638], 1.75568], 	//North East
[[2748.72,3694.09,191.638], 4.96408],   //South West
[[2751.33,3693.62,191.637], 1.52638],   //South East
[[2749.01,3695.33,191.638], 4.70185]    //North West
];

{
    private ["_chair"];

    _chair = "Land_ChairWood_F" createVehicle [0, 0, 0];
    _chair setDir (deg (_x select 1));
    _chair setPosWorld (_x select 0);
    _chair allowDamage false;
    _chair enableSimulationGlobal true;

    ExileRouletteChairs pushBack _chair;
}
forEach ExileRouletteChairPositions;

 

 

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, Mr Health And Safety said:

my chair positions wont help you as i am running Esseker so the ASL altitude will be different. But here is my whole russian roulette section of code.

  Hide contents


///////////////////////////////////////////////////////////////////////////////////////////////////
// Russian Roulette
///////////////////////////////////////////////////////////////////////////////////////////////////

_objects = [];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);; // :)
}
forEach _objects;

ExileRouletteChairs = [];

ExileRouletteChairPositions = 
[
/*
hint str (getPosWorld cursortarget); copyToClipboard str(getPosWorld cursortarget); - Use in debug to get position
hint str (rad x); copyToClipboard str (rad x); - use in debug to get radius. Replace X with Deg direction
*/
[[2750.7,3696.45,191.638], 0],          //North
[[2749.7,3692.54,191.637], 3.29906],    //South
[[2751.67,3694.87,191.638], 1.75568], 	//North East
[[2748.72,3694.09,191.638], 4.96408],   //South West
[[2751.33,3693.62,191.637], 1.52638],   //South East
[[2749.01,3695.33,191.638], 4.70185]    //North West
];

{
    private ["_chair"];

    _chair = "Land_ChairWood_F" createVehicle [0, 0, 0];
    _chair setDir (deg (_x select 1));
    _chair setPosWorld (_x select 0);
    _chair allowDamage false;
    _chair enableSimulationGlobal true;

    ExileRouletteChairs pushBack _chair;
}
forEach ExileRouletteChairPositions;

 

 

step by step, how did you get those coordinates?

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.