Server Side Scripting – ArmA: Armed Assault Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Perhaps it should be noted which version this functionality is available in. --Sy 12:31, 8 June 2007 (CEST)

No need to note this. It is available in all versions since 1.00, only no documentation was available so far. --Suma 15:04, 8 June 2007 (CEST)
Thanks, could you give us an example please.
eg. in the server.cfg, do we have something like...
onUserConnected="dummyVar = _this execVM ""scripts\Admin\UserConnected.sqf"";";
And, if so where would the engine look for the 'UserConnected.sqf'? Within the mission that is currently running? Or somewhere else?
Sorry, I know you're busy and you've only just put this up... btw... Great Job!--Sy 18:19, 8 June 2007 (CEST)

...

it wont work


Of course it doesn't work... that's old news... the Admin VM doesn't currently doesn't allow interaction with the Game VM's.--Sy 08:13, 8 July 2007 (CEST)


I can't get scripting to work.

I'm using this :

onUnsignedData = "uncheckAddons=[""ofrp_mer_a.pbo"",""editorupdate_v102.pbo""];if !((_this select 1) in uncheckAddons) then {kick (_this select 0)};";

to avoid a check on these 2 pbos. if I use editorupdate_v102.pbo on the client, without any .bisign made for it, I get kicked even though the onUnsignedData should kick in. What may be wrong? --Whisper 23:25, 14 May 2008 (CEST)