I had a case where i registered a global property like this:
pEngine->RegisterGlobalProperty( "Schedule@ slIdleStand", slIdleStand );
slidleStand is a Schedule array like so: Schedule slidleStand[].
It implicitly converts to a Schedule*.
The script class is a reference type.
The behavior i didn't expect is that when using this global property, the address being passed into functions was incorrect.
Changing the declaration to "Schedule slIdleStand" fixed it.
Is this normal behavior, and if so, why? How would i register a handle to an object using this?