In my mod I have a collision box that sets a variable of the actor when they walk in. Then I have a button further away (will be activated by a companion) and when activated will be able to get the actor that is inside the box. I can't seem to move the variable across. I looked up global variables but the wiki says it can only take numbers?

I assume this is possible, but how? Any help is appreciated.