Author: Kronzky
Author Website: http://kronzky.info

Requirements: No addons required

Version: 1.5.0

Short description: Fills a marker-defined area with objects.

Date: 2013-06-27 09:08


Comments: (0)
Rating:



 







Object Placer

by
Kronzky (www.kronzky.info)


Fills a marker-defined area with objects.
There are two ways to use this script. Either to create a regular matrix with predefined distances between the objects, or to create a specified number of objects at random positions within the marker area.

To create a MATRIX of objects, use this syntax:
nul=["markername", "objectname", height, xdist, ydist] execVM "objectplacer.sqf"
    Parameters:
      - "markername" : name of marker that designates the area to be covered
      - "objectname" : class name of the objects to be created
      (check the Wiki for class names: http://community.bistudio.com/wiki/Category:ArmA_Classes)
      - height: the height the objects should be created at
      - xdist, ydist : distance in x and y the created objects should have

    example:
    nul=["paraiso", "BO_GBU12_LGB", 50, 10, 10] execVM "objectplacer.sqf"
    will create bombs at a height of 50, spaced 10 meters apart, over a marker called "paraiso"

    To create a objects at RANDOM positions, use this syntax:
    nul=["markername", "objectname", height, amount, delay, "random"] execVM "objectplacer.sqf"
    Parameters:
      - "markername" : name of marker that designates the area to be covered
      - "objectname" : class name of the objects to be created
      check the Wiki for class names: http://community.bistudio.com/wiki/Category:ArmA_Classes)
      - height: the height the objects should be created at
      amount, delay: how many objects should be created, and at which time interval
      - "random": flag that objects should be positioned randomly

    example:
    nul=["paraiso", "BO_GBU12_LGB", 30, 50, 1,"random"] execVM "objectplacer.sqf"
    will create 50 bombs at a height of 30, at 1 second intervals, over a marker called "paraiso"

    If no parameters except for the marker name are given, a matrix of bombs will be created, at 10 meter distances, and at a height of 30 e.g.
    nul=["paraiso"] execVM "objectplacer.sqf"


External download:

Objects placer






Enable javascript to be able to download from Armaholic please!



Tags: No tags