Send a property as a message?

hey, is it possible to send a property as a message? like if an object gets it will apply or add it to one of its propertys? I know about the copy logic brick, but i wanna add -25 to my property, and not copy it

yes, there is a switch at the message actuator

Only with Python. You can use S2A to do that. Look for S2A.firstBodyToValue.

so how does the property message thing work?

message sensor------------python

import bge
cont = bge.logic.getCurrentController()

message = cont.sensors[‘Message’]

property = type(message.bodies[0])

like int(message.bodies[0]) or default is a string I think

See the BGE Guide to Messages incl. Healthbar tutorial