Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | isLandable |
def | isBase |
def | findPlayerNum |
def | isAsteroid |
def | moveOutOfPlayerPath |
def | getUnitFullName |
def | getSignificant |
def | inSystem |
def | getPlanet |
def | getPlanetList |
def | getJumpPoint |
def | obsolete_getNearestEnemy |
def | obsolete_getThreatOrEnemyInRange |
def | setPreciseTargetShip |
def | getMinDistFrom |
def | minimumSigDistApart |
def | getUnitByName |
def | getUnitByFgIDFromNumber |
def | getUnitByFgID |
def | setTargetShip |
def | removeFg |
def | TfgCloak |
def | TfgisNull |
def | TfgHeadCount |
def | setTfgDirective |
def | TfgJumpTo |
def | getUnitSequenceBackwards |
def | approachAndDock |
def | faceTaget |
def | facingAngleToUnit |
def | getSignedVelocity |
def | changeDirectionAndThrust |
def | getShieldPercent |
Variables | |
tuple | profiling_level = int(VS.vsConfig("general","profiling","0")) |
def unit.approachAndDock | ( | ship, | |
station | |||
) |
Definition at line 298 of file unit.py.
References sre_parse.max, Vector.SafeNorm(), Vector.Scale(), and Vector.Sub().
def unit.faceTaget | ( | ship, | |
target | |||
) |
Definition at line 322 of file unit.py.
References Vector.Sub().
def unit.facingAngleToUnit | ( | unit1, | |
unit2 | |||
) |
Definition at line 329 of file unit.py.
References Vector.Dot(), Vector.SafeNorm(), and Vector.Sub().
def unit.getMinDistFrom | ( | sig1, | |
siglist = None |
|||
) |
def unit.getPlanet | ( | whichsignificant, | |
sig | |||
) |
def unit.getShieldPercent | ( | unit) |
def unit.getSignedVelocity | ( | unit) |
Definition at line 337 of file unit.py.
References Vector.Dot(), and Vector.SafeNorm().
def unit.getSignificant | ( | whichsignificant, | |
landable_only, | |||
capship_only | |||
) |
Definition at line 78 of file unit.py.
References getPlanetList(), isBase(), isLandable(), vsrandom.randrange(), and debug.warn.
def unit.getUnitByFgID | ( | fgid) |
Definition at line 221 of file unit.py.
References getUnitByFgIDFromNumber().
def unit.getUnitByName | ( | name) |
def unit.getUnitFullName | ( | un, | |
inenglish = False |
|||
) |
Definition at line 60 of file unit.py.
References string.capitalize(), pydoc.replace(), and locale.str().
def unit.getUnitSequenceBackwards | ( | ) |
def unit.inSystem | ( | unit) |
def unit.isBase | ( | un) |
def unit.isLandable | ( | un) |
def unit.minimumSigDistApart | ( | ) |
def unit.moveOutOfPlayerPath | ( | un) |
Definition at line 31 of file unit.py.
References Vector.Add(), Vector.Dot(), Vector.SafeNorm(), Vector.Scale(), Vector.ScaledCross(), locale.str(), Vector.Sub(), and vsrandom.uniform().
def unit.obsolete_getThreatOrEnemyInRange | ( | un, | |
range | |||
) |
def unit.removeFg | ( | which_fgid) |
def unit.setTargetShip | ( | which_fgid, | |
target_fgid | |||
) |
def unit.setTfgDirective | ( | tup, | |
tgt, | |||
dir | |||
) |
def unit.TfgCloak | ( | state, | |
tup | |||
) |
def unit.TfgHeadCount | ( | tup) |
def unit.TfgisNull | ( | tup) |
def unit.TfgJumpTo | ( | tup, | |
system | |||
) |