guruabdul
Member-
Content Count
10 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout guruabdul
-
Rank
Private
-
Well I'll try it out as soon as I download Visual Studio... or maybe is there some other way to compile your code?
-
Waiting impatiently... Kind of excited about the news ;)
-
Run sqf before server shutdown
guruabdul posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi! Like in the topic. Is there a way to detect server shutdown and block it until some code is done, like for example ensuring that data is saved to the db before the server exits and forgets about everything? -
Get dialog properties
guruabdul replied to guruabdul's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks I'll take a look, I achieved the effect by other means. -
How would I go about doing this? Should I create some artificial unit not playable by player and use it as the "server cryier". Could someone point me in the right direction as to what functions would best suit for such a task? I'd also would like to give a specific name to that unit. Thanks in advance!
-
I think I'm refering to the changes between the new one (I use the one from the Persistentdb package its 0.1.0.0? and Arma2NET 1.11 I think) and the previous one that was working on Arma2NET 1.9. If I do a SELECT and it returns multiple rows your addin used to return a string "[[row1],[row2],[row3]...[rown]]", which you could then compile and use in the sqf as an array of arrays, but now it returns data like this "[[row1,row2,row3...rown]]". So the way to access the columns for separate rows gets completly different as you have to iterate through the array of columns from each row [[r1column1,r1column2,r1column3,r2column1,r2column2,r2column3,....]]. If that's the new way of accessing the data then wouldnt it be better to just return "[row1,row2,...]", that's what makes me think it was unintentional. Hope I'm making some sense ;)
-
One question to you firefly. Why is the new addon returning multiple rows as a single array, this seems to be not intended and worked diffrently in previous versions. Is this a bug or just a design of the new addon (Why double arrays then?)? Thanks for the addon anyway, great work!
-
SideChat not showing
guruabdul replied to guruabdul's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for the reply. Well the message is such and in init because I can't get it to work (it's trolling me -.-). So I have the necassary waits for JIP players and all. I also know it's just local. I was trying a global one you suggested but it wasn't showing so now I was trying the local one with the same effect. I also had the message in the fsm running nonstop, why would that not show? I'll be trying your code and see if that fixes the problem. ---------- Post added at 12:05 ---------- Previous post was at 10:53 ---------- Ok! So sideChat for no apparent reason doesn't work. If I do a say in globalchat it works no problem! I just needed a global say announcing some messages, so that solves my problem. However I still have no idea why wouldn't sidechat work. Thanks! EDIT: How do I mark the thread as solved? -
So I have this line in the init.sqf 'player sideChat "Y U TROLL ME!!!";' and I still cannot see any messages in the side channel. I have also similar message in my fsm so it should spam the side chat but that is not the case. It's like the command wasn't even executed, but still there are no errors shown in rpt or showScriptErrors. Would really appreciate any help, I'm stuck at this for 5hours now. Cheers! Abdul
-
Hi, So I'm kind of new to ArmA scripting and was wondering if there was a way to get properties of the currently open dialog(s), such as name, height, width, text, controls (buttons, sliders) etc. I've looked at the wiki and didn't find any such functions. Is it possible to get such information? Thanks in advance! Abdul