Author: SaMatra
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This script creates chain of walls with different settings.

Date: 2013-01-16 08:06


Comments: (0)
Rating:



 



fn_createWallChain.sqf - Easy way to create chain of walls

by
SaMatra


Description:
I've decided to release my script that creates chain of walls with different settings. Originally created after help request from other member.
Script is free to be used and modified with mention of original author left intact.


Installation / Usage:
Compile the script:
fn_createWallChain = compile preprocessFileLineNumbers "fn_createWallChain.sqf";
and then call it
[... arguments ...] call fn_createWallChain;


Examples:
Create earthen rampart curve:
fn_createWallChain = compile preprocessFileLineNumbers "fn_createWallChain.sqf";
["Land_fort_rampart", 5, [10355, 8643, 0], [0, 20, 20, 20, 20, 20]] call fn_createWallChain;

Create concrete walls box:
fn_createWallChain = compile preprocessFileLineNumbers "fn_createWallChain.sqf";
["Concrete_Wall_EP1", 1.2, [10355, 8643, 0], [0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 90,
0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 90, 0, 0]] call fn_createWallChain;

Randomized tank traps lines:
fn_createWallChain = compile preprocessFileLineNumbers "fn_createWallChain.sqf";
_angles = [];
for "_i" from 0 to 20 do {_angles = _angles + [-20 + random 40];};
["Hedgehog", 2, [10335, 8643, 0], _angles] call fn_createWallChain;
_angles = [];
for "_i" from 0 to 20 do {_angles = _angles + [-20 + random 40];};
["Hedgehog", 2, [10355, 8643, 0], _angles] call fn_createWallChain;
_angles = [];
for "_i" from 0 to 20 do {_angles = _angles + [-20 + random 40];};
["Hedgehog", 2, [10375, 8643, 0], _angles] call fn_createWallChain;


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Chain,   Wall