Module ...
handles targetting
Functions
| _M:getType (t) | Returns data for the given target type Hit: simple project in LOS Beam: hits everything in LOS Bolt: hits first thing in path Ball: hits everything in a ball aounrd the target Cone: hits everything in a cone in the direction |
| _M:pointAtRange (srcx, srcy, destx, desty, dist) | Returns the point at distance from the source on a line to the destination |
Functions
- _M:getType (t)
-
Returns data for the given target type Hit: simple project in LOS
Beam: hits everything in LOS
Bolt: hits first thing in path
Ball: hits everything in a ball aounrd the target
Cone: hits everything in a cone in the direction
Parameters
- t:
- _M:pointAtRange (srcx, srcy, destx, desty, dist)
-
Returns the point at distance from the source on a line to the destination
Parameters
- srcx:
- srcy:
- destx:
- desty:
- dist: