11-03-2013, 06:38 PM
(11-03-2013, 06:24 PM)VanhA link Wrote:Right, so replacing player with _unit might do the trick.
Actually originally I was trying to have a trigger grp detect like this:
{_x PrimaryWeapon ""} count (units grpBat) >0
But of course I had issues there as well.....
You can have the code run on the clients only as well, for each individual player. The publicVariable will make sure that if any player has a weapon, the condition will be true. I'd also add a "sleep 1" to it, that will ease off the load a bit. Especially if this is on Arma 3, it's already demanding enough
I don't need luck, I have ammo.