goose4291
Aug 12 2012, 16:59
I'm trying to make a mission using the excellent Namalsk crisis mod at the moment but am having slight problems.
I'm trying to script it so that the player has to turn the power on using a generator (Which will turn the laboratory lights on also) before they can download files from a computer.
At the moment I have this in the generators initialisation lines:
_genAct = generator addAction ["Switch on generator", "generator.sqf"] And this is the SQF
_gen = _this select 0
_caller = _this select 1
_id = _this select 2
_gen ns_aii_l_status=1;
_gen removeAction _id;
Can anyone tell me where I've gone wrong in regards to restoring of power? I've obviously got the AII module down also
I'm trying to script it so that the player has to turn the power on using a generator (Which will turn the laboratory lights on also) before they can download files from a computer.
At the moment I have this in the generators initialisation lines:
_genAct = generator addAction ["Switch on generator", "generator.sqf"] And this is the SQF
_gen = _this select 0
_caller = _this select 1
_id = _this select 2
_gen ns_aii_l_status=1;
_gen removeAction _id;
Can anyone tell me where I've gone wrong in regards to restoring of power? I've obviously got the AII module down also