• 0
Cyan

Russian Roulette Stuck on playing?

Question

I have recently setup the Russian roulette chairs. But when i go ingame to test them they are stuck on the "playing" status.

 

hYuGFQ9.png

Thanks in advance.

If you need some of the files I would be happy to supply them.

Edited by Cyan

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Here is the 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 = 
[
	[[6297.64,7841.4,309.059],4.70122],
	[[6297.63,7840.31,309.059],4.70153],
	[[6299.3,7840.37,309.058],1.58587],
	[[6299.34,7841.35,309.058],1.57732],
	[[6298.48,7839.38,309.059],3.09676],
	[[6298.5,7842.33,309.059],6.28308]
];

{
    private ["_chair"];

    _chair = "Exile_RussianRouletteChair" 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 Cyan

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.