Changes between Version 1 and Version 2 of EventSocket


Ignore:
Timestamp:
Jun 30, 2011 10:55:02 AM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EventSocket

    v1 v2  
    1111
    1212'''Example:'''
    13 * User 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 1 Hello, 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).
    1515* Quagent 1 is killed.
    16 * On quagent 1's event socket, the message ev dt 1 arrives.
     16* On quagent 1's event socket, the message "ev dt 1" arrives.
    1717