Author: austin(medic)
Author Website:

Requirements:

Version: 1.0

Short description: Spawns some random stuff where ever you want...

Date: 2013-07-13 07:46


Comments: (1)
Rating:



 

Random Weapon Spawn

by
austin(medic)


Description:
Well, since there is no weapon spawning script (that im aware of) for Arma 3 yet I decided to make one.
This script basically just uses weapon holders to spawn stuff on the ground at the defined game logic (it runs the script on every one of the game logics so the more options you put in, the wider variety of things it will spawn).
You can use this as one, but in my opinion, it might be better to clone the script then change stuff in the copies of it and run them on different game logics to avoid the chance of having like 40 guns and 50 ammo magazines spawn on one game logic.


Installation / Usage:
As i said above, just put down a game logic in the editor and in its init box put:
nul = [this] execVM "randomspawn.sqf";

Notes:
You can add more stuff to this. Just get the classname for the item/gun/magazine and copy and paste a line thats already in the script, change the random numbers, and put in how many of the item will spawn if its picked.


Changelog:
v1.1
  • This update basically just makes the script even more random...
  • Added some variables to the top of the script that defines how many of an item will be spawned.
  • Added a few more items into the script.


  • Forum topic:
    - BI forums




    Enable javascript to be able to download from Armaholic please!



    Tags: Random,   Spawn