LuaDocs/ACDropShip
From Data Realms Wiki
(Difference between revisions)
m (fixing reference) |
(ACDropShip - Automatically generated by LuaBot) |
||
Line 1: | Line 1: | ||
- | ===Parent: [[ | + | |
+ | ===Parent: [[ACraft|ACraft]]=== | ||
'''Concrete Class.''' | '''Concrete Class.''' | ||
Line 10: | Line 11: | ||
===ClassName=== | ===ClassName=== | ||
The class name of this Entity.A string with the friendly-formatted type name of this object. | The class name of this Entity.A string with the friendly-formatted type name of this object. | ||
+ | |||
+ | |||
+ | ==Functions== | ||
+ | ===DetectObstacle=== | ||
+ | Checks for obstacles in the travel direction. | ||
+ | |||
+ | '''Arguments:''' | ||
+ | |||
+ | * How far ahead of travel direction to check for obstacles. | ||
+ | |||
+ | '''Return value:''' | ||
+ | |||
+ | Which MOID was detected as obstacle. g_NoMOID means nothing was detected. | ||
+ | |||
[[LuaDocs/Index|'''Go back to Class Index''']] | [[LuaDocs/Index|'''Go back to Class Index''']] |
Revision as of 22:58, 10 May 2011
Contents |
Parent: ACraft
Concrete Class. A hovering craft, with two engines on each attached on each end which tilt independently of the body to achieve steering.
Properties
ClassName
The class name of this Entity.A string with the friendly-formatted type name of this object.
Functions
DetectObstacle
Checks for obstacles in the travel direction.
Arguments:
- How far ahead of travel direction to check for obstacles.
Return value:
Which MOID was detected as obstacle. g_NoMOID means nothing was detected.