I'm having trouble referencing the param options I create in the description.ext file in the init.sqf file.
In the role selection, I can view and change the param value for mission time, but when I start the mission I get an error saying that "paramArray" is a variable which was not defined. "paramArray" is suppose to be the array you reference to get param values.
Has anyone successfully got the new param system in ArmA 2 v1.04 to work? If so, give me a hand...
Sample Code from my mission:
Description.ext Param Coding...
class Params
{
class missiontime {
// paramsArray[0]
title="Time of Day";
values[]={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,1 9,20,21,22,23};
texts[]={"00:00","01:00","02:00","03:00","04:00","05:00", "06:00","07:00","08:00","09:00","10:00","11:00","1 2:00","13:00","14:00","15:00","16:00","17:00","18: 00","19:00","20:00","21:00","22:00","23:00"};
default=12;
};
};
init.sqf coding (line its erring on)...
skiptime (paramsArray select 0);