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"
any ideas ?
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"
any ideas ?
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).