size
integer |
Signal count Number of signals in this set |
add
returns Signal |
add function add(string channel)Create a new signal |
addProperty
returns Signal |
add function addProperty(string channel, untyped property)Create a signal that automatically reflects one of the creature's properties (i.e. its power is equal to the property value). |
clear
doesn't return a value |
clear function clear()Delete all signals |
get
returns Signal |
get function get(integer index)Access individual signals (index=0 .. size-1) |
receive
returns float |
receive function receive(string channel)Receive the aggregated signal power in a given channel. |
receiveFilter
returns float |
receive function receiveFilter(string channel, float max_distance, float flavor, float filter)Receive the aggregated signal power in a given channel. |
receiveSet
returns Vector |
receive function receiveSet(string channel, float max_distance)Get all signals in the specified range. Returns a readonly vector object containing Signal objects (individual signals can be accessed as result[0], .., result[result.size-1]). |
receiveSingle
returns Signal |
receive function receiveSingle(string channel, float max_distance)Find the signal source having the highest signal power (including the distance) |
| Global context |