<img src="http://i.imgur.com/Niwt6P7.jpg" border="0" />
This is what should happen:
Function call "CreatePC" > Set "UID" to expression (FunctionCall return value) (which is the newly created object UID. I have these functions seperated because I want to use CreateUnit_func on a more global scale) > Pick instance with UID "UID" > Do actions to this Unit.UID
This is what happens:
Function call "CreatePC" > Set "UID" to expression (FunctionCall return value) > Pick instance with UID "UID" > Nothing happens.
I suspect its not properly picking the newly created object. I don't see why not.
CreateUnit_func is working, the object is created, and I also know that the local variable "UID" is getting set its UID. It's just not picking it.