I have a game that I want to use dynamic text for a Points system and a Lives system. The problem I run into is that when I create a Text Property for the dynamic text, the property name is Text - for both. I need to use logic bricks to finish what I want with points and lives, but both pieces of dynamic text are named Text ... how do I discern between the two when using the logic bricks??

  • 1
    $\begingroup$ even though the properties has the same names they are on different objects , how are you accessing these variables ? $\endgroup$ – Chebhou May 11 '15 at 0:06
  • 1
    $\begingroup$ the property sensor access the current object properties that's why you see only one $\endgroup$ – Chebhou May 11 '15 at 0:14
  • 1
    $\begingroup$ see if this example helps with using the text blender.stackexchange.com/questions/29253/… $\endgroup$ – Chebhou May 11 '15 at 0:15
  • $\begingroup$ the problem occurs when an object is sending a message to Text - which Text property will it default to ... there are two?? $\endgroup$ – Robert Tiffany May 11 '15 at 1:21
  • $\begingroup$ the example is half of what we are doing - now, what if you wanted to add a Lives counter? When you create the dynamic text for this, the Text property (by default) is text .... how will the game know if you are sending messages to the counter (like in your example) or the Lives counter when they are both labeled Text?? $\endgroup$ – Robert Tiffany May 11 '15 at 1:24

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.