I required a random weapon script recently for a zombie mod I am making and, with the help of this page and Ravsun as well as palyarmerc who helped with the scripting language. I decided to release it in case someone else was looking for it as well. The script itslef is run off of a "Game Logics" Init line.
I hope that this script helps your out a bit in whatever your endeavour and I look forward to seeing it used.
Installation / Usage:
Just put the file this ReadMe came in: "Random%20Weapon%20Spawn.utes" into your missions folder which is in your ArmA 2 folder, which is in your main documents. Then you can open it up in ArmA 2 editor and preview it.
You will find a copy of the script in this file, feel free to edit it to your hearts content. :D
- Can't pick up backpacks or ammo until gun is taken
- Can't pick up backpacks until ammo is taken
If you can help with and/or fix the known problems, well, that'd be mighty kind.
I hope you find many uses for this script. It is my first published one.