LuaDocs/ACDropShip

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
m (fixing reference)
(ACDropShip - Automatically generated by LuaBot)
Line 1: Line 1:
-
===Parent:  [[LuaDocs/ACraft|ACraft]]===
+
 
 +
===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.

Go back to Class Index


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.


Go back to Class Index

Personal tools