Jump to content

  • Log In with Google      Sign In   
  • Create Account

yamashi-

Member Since 17 Oct 2011
Offline Last Active Feb 25 2013 05:05 PM

Topics I've Started

Passing reference as parameter

10 February 2013 - 07:00 PM

Hello,

 

I am trying to pass an exiting object as a reference to a function but I can't get it to work...

I have tried NPC@ and NPC& as type and nothing seems to work...

I use SetArgObject and give it a pointer to my object (I don't want to copy it because I want to be able to call functions on that object).

If I put the object in a global variable it works just fine...

 

Could you give me some insights ?

 

Thanks !


PARTNERS