OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Pointman on 25 Mar 2003, 09:15:36

Title: What the??? Is this a documented bug w/ functions?
Post by: Pointman on 25 Mar 2003, 09:15:36
GOD DAMNIT I FIGURED IT OUT -- USE GrpNull INSTEAD OF Null

PLS DELETE THIS THREAD


what the HELL is wrong here?

Code: [Select]
//my group id
_group = Null;


//output string
_string = "";
_string =  format["%1\n",_group];


if ( True ) then
{

//some other group id
_group = EAST_1;

_string =  _string  + format["%1\n",_group];

};

_string = _string +  format["%1\n",_group];

hint format["%1", _string];

the output is :
-----------------------------
Scalar bool array ....
EAST Alpha Black:1
Scalar bool array ....
-----------------------------


WHATWHATWHAAAAAT?

anyone seen this before? can anyone reproduce it for me?