Advertisement

Author Topic: Quick question: MP arrays?  (Read 447 times)

0 Members and 1 Guest are viewing this topic.

Offline DMarkwick

  • Contributing Member
  • **
  • I'm a llama!
Quick question: MP arrays?
« 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?

Offline i0n0s

  • Moderator
  • *****
Re: Quick question: MP arrays?
« Reply #1 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]

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Quick question: MP arrays?
« Reply #2 on: 24 Aug 2009, 17:26:57 »
I guess you mean publicVariable instead of globalVariable, right?

Offline i0n0s

  • Moderator
  • *****
Re: Quick question: MP arrays?
« Reply #3 on: 24 Aug 2009, 17:48:43 »
Right, typo :(