Doc:2.6/Manual/Game Engine/Logic/Actuators/Message

提供: wiki
< Doc:2.6‎ | Manual‎ | Game Engine‎ | Logic‎ | Actuators
2018年6月29日 (金) 04:45時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Message Actuator

The Message actuator allows the user to send data across a scene, and between scenes themselves.

Message actuator
Message actuator Options

See Actuator Common Options for common options.

Special Options:

Object to broadcast to. Leave blank if broadcast to all (or sending to another scene).
Subject of message. Useful if sending certain types of message, such as "end-game", to a message sensor listening for "end game"->AND->Quit Game actuator
Body of message sent (only read by Python*).
User specified text in body.
User specified property.

Usage Notes

You can use the Message Actuator to send data, such as scores to other objects, or even across scenes! (alternatively use bge.logic.globalDict).