Changes between Version 1 and Version 2 of EventSocket
- Timestamp:
- Jun 30, 2011 10:55:02 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EventSocket
v1 v2 11 11 12 12 '''Example:''' 13 * Usersends: "n sy 512 600 Hello, I am a quagent."14 * On the EventSocket of all bots within 600 units that have line-of-sight, the message "ev sy 1Hello, I am a quagent." arrives (terminated by a newline).13 * Quagent 3 sends: "n sy 512 600 Hello, I am a quagent." 14 * On the EventSocket of all bots within 600 units that have line-of-sight, the message "ev sy 3 Hello, I am a quagent." arrives (terminated by a newline). 15 15 * Quagent 1 is killed. 16 * On quagent 1's event socket, the message ev dt 1arrives.16 * On quagent 1's event socket, the message "ev dt 1" arrives. 17 17