A type instance isn't an entity so using copyentity doesn't work.
If you want a completely new/separate type instance to be created when copying, you're going to have to do it all manually, like:
All a bit messy but if you pack it away into your own copy_type() function, you only have to look at it once. ;)
Or, if you simply want to make player(3) reference the same type instance as myarray(4), you can of course just do:
If you want a completely new/separate type instance to be created when copying, you're going to have to do it all manually, like:
player(3) = New something player(3)\mesh = myarray(4)\mesh player(3)\locx = myarray(4)\locx player(3)\locy = myarray(4)\locy
All a bit messy but if you pack it away into your own copy_type() function, you only have to look at it once. ;)
Or, if you simply want to make player(3) reference the same type instance as myarray(4), you can of course just do:
player(3) = myarray(4)