Module KX_NetworkMessageActuator
|
|
1
2
3 from SCA_IActuator import *
4
6 """
7 Message Actuator
8 """
10 """
11 Messages will only be sent to objects with the given property name.
12
13 @type name: string
14 """
16 """
17 Sets the subject field of the message.
18
19 @type subject: string
20 """
21 - def setBodyType(bodytype):
22 """
23 Sets the type of body to send.
24
25 @type bodytype: boolean
26 @param bodytype: True to send the value of a property, False to send the body text.
27 """
29 """
30 Sets the message body.
31
32 @type body: string
33 @param body: if the body type is True, this is the name of the property to send.
34 if the body type is False, this is the text to send.
35 """
36