View Single Post
DabuDos
Junior Member
Join Date: Feb 2015
Location: Germany
Old 09-16-2015 , 10:29   Re: Dynamic Objects and Properties
Reply With Quote #16

Quote:
Originally Posted by Neuro Toxin View Post
Looks like it's not initialised.

Code:
Dynamic someobject = Dynamic();
You then need to share someobject. Internally someobject is an integer and represents the internal index for the collection array. The best idea is to pass it through a native.

Code:
Dynamic someobject = view_as<Dynamic>(Native_GetDynamicObject());
You would return someobject in the native like so.

Code:
return view_as<int>(someobject);
If you still encounter problems with this advise feel free to post code for both plugins.
Well, I get many errors with "undefined symbol" now, I don't really understand why.
Can you maybe post a basic code for one plugin that sends the value and another plugin that receives the value? Maybe thats easier to understand for me & others.
DabuDos is offline