Brand New Advanced Motion Sensor!
The Advanced Motion Sensor brings brand new capabilities, such as:
- Increased range up to 2500
- Can detect multiple targets
- Returns the direction and distance to a selected target
The Advanced Motion Sensor cannot:
- Bring back your wife
- Give you the secret to immortality
- Fix your broken family
To get the Advanced Motion Sensor to work first input an index into index_in this sets which detected thing you want the angle and distance to. Indexing uses 0 as the first value not 1. Once an index has been set then the angle and distance will be outputted through angle_out and distance_out. Additionally, state_out will function as it normally does on a motion sensor and output a 1 when there is motion detected and count_out will output how many things the sensor is detecting.
This mod requires LuaCsForBarotrauma to be installed with cs scripting enabled.