Jump to content

Recommended Posts

Hi I ran into a little issue. I made a little heli training where the instructor can control the heli from the ground via a dialog. In the dialog there are options to damage the engine, main rotor, tail rotor etc. In the editor it works perfectly and when trying it on a dedicated server it half works in a way. If I am in the menu and a friend is in the heli it does not produce the damage for him. I assume it has something to do with local / global variable ? I don't know too much about that as I am a beginner.

 

Setup: Object stand has a addAction on it that opens the dialog.

 

if(_selectedIndex == 0) exitWith
{
	player sideChat "Little Bird has Light Engine Damage!";
	trainingLittleBird setHitPointDamage ["HitEngine", 0.5];
};

I'm not sure how to fix this. Any help would be appreciated.

Share this post


Link to post
Share on other sites

I just realised I posted this in the wrong one thread, could a mod please move this to arma 3 editing and scripting for me please.

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

×