I have been having a problem with a script I am writing. It seems that whenever I use addWeapon after initialization the gun is useless.
An example mission:
Start a new mission and add a single player to it. Then add a trigger that is activated be radio Alpha and in its on activation field put <removeAllWeapons player; player addWeapon "M16"; player addMagazine "M16";> without the < and >.
For me when I run this mission and activate the trigger I get an M16 in my hands but the gun doesn't work. By that I mean the little thing up in the top left corner of the screen that shows ammo is not there, the weapon will not reload, I can't use the sights and the only action I can do with the weapon is put it on my back (no Drop M16). I'm sure I used to be able to do this but now I can't.
If I put those same commands in the init.sqs file it works fine.
I have flashpoint: goty version 1.91, but I have also tried beta 1.96.
Can anyone tell me if I am doing something wrong?