Warning to viewers this is my first real attemp at a python script, besides
print: “Hello World” and I’m not ever sure thats right. Any ways I’m trying to send a property from an object to be recieved by an object in a different scene and vice versa
ex. Health to Hud.
I want the blender communitty to look at this python and tell me if what I’m doing is getting on to something great, or is a complete load of junk and the python community shames me. Either way I need some feedback. I found functions
import bpy
#get scenes
CurrentScene = Scene.GetCurrent()
InfoScene = Scene.Get(Info)
#get object
Sender = bpy.data.objects['object1']
Reciever = bpy.data.objects['object2']
SenderProperty = Sender.getProperty(Health)
SenderData = SenderProperty.getData()
RecieverProperty = Reciever.getProperty(Health)
RecieverData = RecieverProperty.getData()
SenderData == RecieverData
#If that doesn't work maybe this will
Sender.getAllProperties()
Sender.copyAllPropertiesTo(Reciever)
but just looking at this script I see but don’t know where my mistakes are.
