OFPEC Forum
Addons & Mods Depot => Arma2 - Addons & Mods Discussion => Topic started by: Kremator on 30 Jul 2009, 01:11:46
-
Dear scripters and modders,
There are quite a few mods from Arma1 that can make it easily into Arma2. However some of these mods/addons throw up serialisation errors (something to do with the save system, I believe).
My questions is HOW and WHERE do I put in the command disableSerialisation so that I can use these beauties with impugnity !
Thanks
Kremator
-
i have only seen the command used at the top of an sqf so far and it is simply the command with no parameters .
here it is in one of Bis scripts.
notice it has a Z
disableSerialization;
private ["_ctrl", "_char", "_pos", "_slot"];
_ctrl = _this select 0;
_char = _this select 1;
_pos = _this select 2;
_slot = _this select 3;
call (compile ("BIS_Credits_Pool" + (str _slot) + " = BIS_Credits_Pool" + (str _slot) + " - [_ctrl]"));
_ctrl ctrlSetText _char;
_ctrl ctrlSetPosition [(_pos * 0.03) + 0.1,0.05 + _slot / 400];
_ctrl ctrlSetFade 0;
_ctrl ctrlSetScale 10;
_ctrl ctrlCommit 0;
.............................
true
-
Thanks.
Will try it now.