Search the Community
Showing results for tags 'qualifications'.
Found 1 result
McIntire posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGI'm making a post after looking through a few topics and consulting with one of my contacts. We have tried a number of fixes, but none have solved the problem. Scenario: There is a rifle qualification range and a pistol qualification range on the same mission. Controls are linked to scripts via addAction to either raise targets at 1 of 3 set distances at the rifle range or to raise the pistol targets in sequence. The rifle targets need to reset after being hit, while the pistol targets need to stay down after being hit. Problem: Through various scripts, I was able to get the ranges to work properly when loaded in the editor. However, on the server, the combinations will either make all the targets pop up or stay down despite trying a number of combinations. Attempts: Since one of the topics I found mentioned locality, I tried implementing if (isServer) line in pistol range scripts - Scripts would not work at all on server. Also tried moving nopop = true/false; into target objects' init lines - Does not work. Moving nopop = false; line to rifle range scripts - Targets initially in up position, stay down when hit. Upon executing scripts, will reset as intended in editor, but not in server. Moved lines from init.sqf into range.sqf file executed from init.sqf - Organizes it better but does not address issue. Scripts: There is a execVM "range.sqf"; line in the init.sqf file which calls the range.sqf script: One of the rifle range scripts: Pistol Range Script: There are also scripts to reset the ranges after use, but those are working as intended so I don't think I need to post them.