OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: hoz on 14 Dec 2008, 20:29:49

Title: Grass Changer - Template (ACCEPTED)
Post by: hoz on 14 Dec 2008, 20:29:49
I created this template to remove the grass from your mission. A buddy is always bugging me to remove the grass so I took the time to whipped this up.

Install and options information is in the readme

Hoz

OFPEC Download  (http://www.ofpec.com/ed_depot/index.php?action=details&id=574)
Title: Re: Grass Changer - Template
Post by: Spooner on 15 Dec 2008, 04:53:51
Code: [Select]
In the readme, it says:
[quote]
The first option represents the height level with 0 being lowest and 1 being normal
Which makes it sound like it accepts a fractional value between 0 and 1, but in reality, the only acceptable options are 0 (disabled), 1 (medium) or 2 (high).

I don't quite understand why the second parameter needs to be a string and not a native boolean:
Code: [Select]
MP Example: [param1, "true"] execvm "Grass_Changer\grass_changer.sqf";
rather than what I'd expect:
Code: [Select]
MP Example: [param1, true] execvm "Grass_Changer\grass_changer.sqf";

Otherwise, a nice little script and good because it explains how to use it as one of the mission params in MP missions.
Title: Re: Grass Changer - Template (ACCEPTED)
Post by: ThunderShoot on 19 Dec 2008, 02:41:41
Tks, Great work.