Jump to content
Sign in to follow this  
Idomass

Arma 3 bomb game problems

Recommended Posts

Im creating CSGO style mission to arma 3 and i having problems with the bomb defuse at MP.

i cant find my errors and there is no scripting errors.

can somone help me find the errors?

the errors are:

1)only the guy that planting the bomb can see the defuse

2)killaward.sqf is not working at mp

3)cant see the timer of the bomb

Ignore it that bombdefuse.sqf is by mistake called bombdesfuse.sqf.(this is not the problem)

link:

http://www.mediafire.com/download/fzkr91a3zn19qbb/Arma_3_Bomb_game.VR.rar

Share this post


Link to post
Share on other sites

No ******* kidding, i just started working on exactly ur doing 3 days ago xD (make sure its not in Pyegos otherwise ill be pissed :P )

I suggest u use: null = execVM "diffusebomb.sqf";

Share this post


Link to post
Share on other sites
No ******* kidding, i just started working on exactly ur doing 3 days ago xD (make sure its not in Pyegos otherwise ill be pissed :P )

I suggest u use: null = execVM "diffusebomb.sqf";

first things first, no it is not at pyrgos it is in custom map in VR.

it works realy good at SP but having a lot of problems in MP.

what that u suggest me doesnt seems to work,still the guy who planted is the only guy that can see the timer and can defuse it, any other ideas?

Edited by eldar

Share this post


Link to post
Share on other sites

Maybe this might help :)


//I have placed this addAction in a object's init, just to let you know.

//action1 is the name that represents it. in plant_script.sqf, you could do player removeAction action1;



//T1 in the script below "player == T1, is the name of the unit such as Terrorist1.


//the "_this distance _target < 2, represents how far you are from the object. When you reach less than 2 m from the object, the addAction will activate


//This addAction also applies the action ONLY to the bomber such as T1, so no other unit can use the action


action1 = this addAction ["Plant Bomb", "_this execVM 'plant_script.sqf'", 1, 0, true, false, "", "player == T1; _this distance _target < 2"];


Kind Regards,

Rawner135 / Ranwer

Share this post


Link to post
Share on other sites

For the killaward.sqf:

_unit = (_this select 0);

_unit addEventHandler 
[
"Killed", 
{
	_unit = (_this select 0);
	_killer = (_this select 1);
	if (isPlayer _killer)then 
	{
		[[_killer,"I got him!"],"sideChat",true,false,false] call BIS_fnc_MP;
		_unit removeAllEventHandlers "killed";
	};
}
];

Share this post


Link to post
Share on other sites

thanks both of you!

killaward.sqf is now working like a charm.

the other problems is still not solved,

the bomber is the guy that can see the defuse,

the CT (Blufor) side still can see the plant action after the bomb planted (if the try to use it it will write "you cant plant").

they cant see the timer (only T can see it)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×