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?
not hard though
(but I am having a couple problems, …)
import GameLogic
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()