|
Endstar LUA API Documentation
|
Used to modify the behavior of a sensor component by altering its settings. More...
Public Member Functions | |
| void | SetSenseTeam (Context instigator, int sense) |
| Set which team this sensor filters for using TeamSense | |
| void | SetSenseShape (Context instigator, int shape) |
| Set the shape of this sensor using SenseShape | |
| void | SetVerticalSenseExtents (Context instigator, float height) |
| Set the vertical extents of this sensor's sense shape SenseShape. | |
| void | SetHorizontalSenseExtents (Context instigator, float width) |
| Set the horizontal extents of this sensor's SenseShape. | |
| void | SetVerticalSenseAngle (Context instigator, float angle) |
| Set the vertical angle of this sensor's SenseShape. Has no effect on some sense shapes. | |
| void | SetHorizontalSenseAngle (Context instigator, float angle) |
| Set the horizontal angle of this sensor's SenseShape. Has no effect on some sense shapes. | |
| void | SetSenseDistance (Context instigator, float distance) |
| Set the sense distance of this sensor's SenseShape. | |
| void | SetSenseXRay (Context instigator, bool xray) |
| Set whether this sensor detects through walls. | |
Used to modify the behavior of a sensor component by altering its settings.
| void SetHorizontalSenseAngle | ( | Context | instigator, |
| float | angle ) |
Set the horizontal angle of this sensor's SenseShape. Has no effect on some sense shapes.
| instigator | The source context triggering this change |
| angle | Horizontal angle |
| void SetHorizontalSenseExtents | ( | Context | instigator, |
| float | width ) |
Set the horizontal extents of this sensor's SenseShape.
| instigator | The source context triggering this change |
| width | Horizontal extents |
| void SetSenseDistance | ( | Context | instigator, |
| float | distance ) |
Set the sense distance of this sensor's SenseShape.
| instigator | The source context triggering this change |
| distance | Sense distance |
| void SetSenseShape | ( | Context | instigator, |
| int | shape ) |
Set the shape of this sensor using SenseShape
| instigator | The source context triggering this change |
| shape | This sensor's SenseShape |
| void SetSenseTeam | ( | Context | instigator, |
| int | sense ) |
| void SetSenseXRay | ( | Context | instigator, |
| bool | xray ) |
Set whether this sensor detects through walls.
| instigator | The source context triggering this change |
| xray | True if this sensor should detect through walls |
| void SetVerticalSenseAngle | ( | Context | instigator, |
| float | angle ) |
Set the vertical angle of this sensor's SenseShape. Has no effect on some sense shapes.
| instigator | The source context triggering this change |
| angle | Vertical angle |
| void SetVerticalSenseExtents | ( | Context | instigator, |
| float | height ) |
Set the vertical extents of this sensor's sense shape SenseShape.
| instigator | The source context triggering this change |
| height | Vertical extents |