-
Notifications
You must be signed in to change notification settings - Fork 2
Devices: Sensors
Mathieu Lomax edited this page Aug 10, 2019
·
3 revisions

| I/O | # | Type | Name |
|---|---|---|---|
| Out | 0 | bool | Hours |
| Out | 1 | bool | Minutes |
| Out | 2 | bool | Seconds |
Basically just a glorified clock.
Use in combination with a Modulo device and an Equals device to have recurring time-based triggers.

| I/O | # | Type | Name |
|---|---|---|---|
| In | 0 | TeamColor | TeamColor Filter |
| Out | 0 | int | Distance |
| Out | 1 | string | Player Name |
Outputs the distance and name of the nearest matching Player.

| I/O | # | Type | Name |
|---|---|---|---|
| In | 0 | bool | Hostile Filter |
| In | 1 | bool | TownNPC Filter |
| Out | 0 | int | Distance |
Outputs the distance to the nearest matching NPC.

| I/O | # | Type | Name |
|---|---|---|---|
| In | 0 | int | Distance |
| In | 1 | bool | Hostile Filter |
| In | 2 | bool | TownNPC Filter |
| Out | 0 | int | Count |
Outputs the number of matching NPCs within a given radius.