Is there any way to send a text message in a message acuator (isn’t this waht the “body” variable does?). I want to send a text string to a block in my inventory, which will then save it in a Text property which will display that. Is it possible without python, or do i have to have python to do it?
yes, python is required
not hard though
(but I am having a couple problems, …)
cont = GameLogic.getCurrentController()
obj = cont.getOwner()
act = cont.getSensor("mess")# mess is the name of the sensor
bah = act.getBodies()
# although it is getBodies it complains if I refrence it's output as an array
obj.Text = act.getBodies()
and I put a .blend (with the logicbrick setup) at
my problem is the brackets put onto the property, which I don’t currently have time to fix.
Hmm, the brackets are a problem. I’m going to try to fix this, thanks