0
$\begingroup$

i was working on a game and i need to send multiple property values from different objects through different scenes using message body set to "property"

enter image description here

any ideas ?

$\endgroup$
2
  • $\begingroup$ I think you may be at the end of what the game logic nodes can do, and you need to start working with the API. $\endgroup$
    – TheLabCat
    Commented Mar 6, 2021 at 15:38
  • $\begingroup$ i searched for some answers and i found this thread tried the SumBodiesToValues script but it only accepts the top sensor brick connected to the assign property actuator $\endgroup$ Commented Mar 6, 2021 at 17:00

1 Answer 1

1
$\begingroup$

As ZargulTheWizard mentioned, the only way to receive the body text/values at run-time is with Python API. However, you could use a different setup, that being to send a simple "buy.100" message as you showed above, than, on the object(s) that are meant to be receiving the messages vie message sensors, have them use a property actuator with type "copy" to copy the "value" property to and fro the sending/receiving objects. You'll also need to have a game-property with the same type (e.g boolean, integer, float) on the receiving object(s).

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .