Author: Foxhound
Author Website: http://www.kronzky.info/

Requirements: No addons required

Version: 1.2.0

Short description:

Date: 2007-01-12 20:21


Comments: (3)
Rating:



 



Weapons placer script
by
Kronzky


Function:
- Positions a number of weapons at a selected position

Usage:
Call arguments: [place, height, direction, weapon, ammo, type, copies, distance]
    - place = Object that defines the 2D-position of the placement (can be a game logic)
    - height = Distance from the ground for placement.
    - direction = Angle of weapons orientation.
    - weapon = Weapons name
    - ammo = Ammo name
    - type = Specifies whether weapon is primary (1) or secondary (2) weapon. (use 2 if weapon appears upright)
    - copies = How many copies of the weapon should be placed. (optional)
    - distance = How far apart weapons copies should be placed (only required if <copies> is declared)

Example:
[table1, 0.95, 0, "m16", "m16", 1, 5, 0.2] exec "placeweapons.sqs"
will place 5 M16s 20cm apart at the position of object 'table1', at a height of .95.

The names for weapons and ammo are available on the wiki: community.bistudio.com/wiki/Category:Weapons


External download:

Weapons placer






Enable javascript to be able to download from Armaholic please!



Tags: No tags