OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: LCD on 23 Jan 2008, 14:04:18

Title: LCD_COV
Post by: LCD on 23 Jan 2008, 14:04:18
dis is a Command Visor dat is used 2 control difrent units/groups....

useage

put da LCD_cov folder and da LCD_Basedef.hpp files in ur mision folder...

in ur init file put da folowing lines

LCD_squadnumber = compile preprocessfilelinenumbers "LCD_cov\LCD_squadnumber.sqf";
dirinhour = compile preprocessfilelinenumbers "LCD_cov\dirinhour.sqf";
WPL = compile preprocessfilelinenumbers "LCD_cov\WPlines.sqf";

in da description.ext put da next lines

#include "LCD_basedef.hpp"
#include "LCD_cov\LCD_cov.hpp"

now 2 define da units dat can b controled by da file u need 2 have da next code somewere (script or init, da array tells da script wat units can b controled... and if da unit is a group or a regular unit...)

LCD_visors = [[Unitname,"unit"],[Unitname1,"unit"],[groupname,"group"],[(group player),"group"]];

now 2 start da script u just need 2 create da dialog called "LCD_cov"

for example create a radio triger and put in its activation

LCD_cov = createdialog "LCD_cov";

check da demo mision 4 more details :D

---------------------------------------

Feel free 2 edit dis script for ur own needs :D

LCD OUT