Author: beno_83au
Author Website:

Requirements: No addons required

Version: 1.00

Short description: MIL ClearGrass allows players to create firelanes through grass or to simply clear small patches of grass to give unobstructed observation.

Date: 2018-12-15 12:35


Comments: (0)
Rating:



 







MIL ClearGrass

by
beno_83au


Description:
Another pretty basic script, MIL_ClearGrass allows players to create firelanes through grass or to simply clear small patches of grass to give unobstructed observation. "Land_ClutterCutter_small_F" is used to clear the grass, and when clearing patches is spawned 0.5m in front of the player.

Features:
    - AddActions to clear a small patch of grass, or clear a point-to-point line through grass.
    - Mission designers can choose to enable/disable clearing of both patches and/or firelanes.
    - Mission designers can also add a required item to be in the player's inventory to be able to clear any grass.


Installation / Usage:
For usage instructions and information of how to use the MIL ClearGrass please refer to the included documentation and/or example mission.

- Copy the file MIL_ClearGrass.sqf to your mission folder.
- Run the script using:
nul = [_availableActions,_itemsRequired] execVM "MIL_ClearGrass.sqf";
- _availableActions - number (optional)
                    - default: 0
                    - determine what grass clearing option can be used
                        - 0 - both
                        - 1 - clear grass patch
                        - 2 - clear fire lane
- _itemsRequired - array of strings (optional)
                 - default: []
                 - classNames of any items required to clear any grass

- Example:
nul = [] execVM "MIL_ClearGrass.sqf";
    - Players will be able to use both actions without restrictions.
nul = [1,["ACE_EntrenchingTool"]] execVM "MIL_CAS.sqf";
    - Players will only be able to clear patches of grass any need to have an ACE Entrenching Tool in their inventory.


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Known issues:
- Be aware, it can be a bit fiddly sometimes to get the right spot to remove patches of grass.

If anyone finds any problems please let me know.


Changelog:
1.00


Forum topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: Script,   Action,   Environment,   Firelanes,   Grass,   Spawn