PDA

View Full Version : script file locked



BrandonITA
May 20 2011, 00:12
hi, when I preview a mission in the editor, the sqf/sqs script get locked and I can't save it anymore till I close arma, so if want to do some changes I have to restart arma each time which is quite a waste of time
Is there a way to release the script without shutting down the game?

Demonized
May 20 2011, 01:39
i open/close, save/load scripts x amount of times while editing with no issues.
I use arma edit, but that should not matter.

.kju [PvPscene]
May 20 2011, 05:12
Which text/code editor do you use?

BrandonITA
May 20 2011, 08:21
I use notepad++, this is pretty much what I've done

created a new mission with the editor and I saved it
I've switched to intro, created a unit and I've added this exec "myscript.sqs"
created the sqs script in the mission folder
reloaded the mission from the editor and clicked preview
returned back to the editor

from now on I can't save the script without closing arma, I'll try with another editor to see if it's a notepad++ issue

.kju [PvPscene]
May 20 2011, 08:29
Make sure to have the script file not as active tab in the editor.
If you do, opening and closing the file should help too.

BrandonITA
May 20 2011, 19:22
thanks for the help, the issue was that I was running arma on the desktop and editing the script from the laptop and for some unknown reason the file results locked over the network, everything works fine if I edit it from the desktop