Hello there.

I am creating a game in UpBGE, and I am often use python to it.

A moment ago I encountered a problem:

I do not really know, how to create a property, in owner, from python level.

enter image description here

Thank you for any helpful comments.

  • $\begingroup$ What do you mean with 'from Python level'? A global property? If so, how could it be attached to owner? Object properties (owner) can be set like owner["prop"] = value, global properties can be set using bge.logic.globalDict["prop"] = value, but the last aren't attached to any object. If it's not what you mean, explain a little better your question. $\endgroup$ – Joel Gomes Aug 19 '19 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.