OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: DMarkwick on 04 Aug 2009, 23:57:36

Title: Quick question: MP arrays?
Post by: DMarkwick on 04 Aug 2009, 23:57:36
Quick question that might save me a little shoeleather: can arrays be transmitted/accessed as MP global variables?
Title: Re: Quick question: MP arrays?
Post by: i0n0s on 05 Aug 2009, 01:49:57
First:
There ain't such thing as "MP global variables". Variables can get synchronized via globalVariable, but they still global variables on each machine. But yes, arrays can get transmitted via globalVariable or setVariable [..., ..., true]
Title: Re: Quick question: MP arrays?
Post by: Mandoble on 24 Aug 2009, 17:26:57
I guess you mean publicVariable instead of globalVariable, right?
Title: Re: Quick question: MP arrays?
Post by: i0n0s on 24 Aug 2009, 17:48:43
Right, typo :(