Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | NextPos |
def | move_to |
def | whereTo |
def | unOrTupleDistance |
def | look_for |
def | LaunchNext |
def | launch_dockable_around_unit |
def | launch_types_around |
def | launch_wave_around |
def launch_recycle.launch_dockable_around_unit | ( | fg, | |
faction, | |||
ai, | |||
radius, | |||
myunit, | |||
garbage_collection_distance, | |||
logo = '' , |
|||
fgappend = '' , |
|||
skipdj = 0 |
|||
) |
Definition at line 82 of file launch_recycle.py.
References faction_ships.getRandomCapitol(), faction_ships.isCapital(), fg_util.LandedShipsInFG(), and launch.launch_wave_around_unit().
def launch_recycle.launch_types_around | ( | fg, | |
faction, | |||
typenumbers, | |||
ai, | |||
radius, | |||
myunit, | |||
garbage_collection_distance, | |||
logo, | |||
fgappend = '' , |
|||
skipdj = 0 , |
|||
FarApart = 1 |
|||
) |
Definition at line 95 of file launch_recycle.py.
References debug.debug, dj_lib.PlayMusik(), locale.str(), and whereTo().
def launch_recycle.launch_wave_around | ( | fg, | |
faction, | |||
ai, | |||
nr_ships, | |||
capship, | |||
radius, | |||
myunit, | |||
garbage_collection_distance, | |||
logo, | |||
skipdj = 0 |
|||
) |
Definition at line 131 of file launch_recycle.py.
References debug.debug, faction_ships.getRandomCapitol(), faction_ships.getRandomFighter(), dj_lib.PlayMusik(), locale.str(), and whereTo().
def launch_recycle.LaunchNext | ( | fg, | |
fac, | |||
type, | |||
ai, | |||
pos, | |||
logo, | |||
newshp = [None] , |
|||
fgappend = '' , |
|||
FarApart = 1 |
|||
) |
Definition at line 69 of file launch_recycle.py.
References debug.debug, locale.str(), and dynamic_universe.TrackLaunchedShip().
def launch_recycle.look_for | ( | fg, | |
faction, | |||
numships, | |||
myunit, | |||
pos, | |||
gcd, | |||
newship = [None] |
|||
) |
Definition at line 51 of file launch_recycle.py.
References debug.debug, unit.getUnitSequenceBackwards(), vsrandom.random(), and unOrTupleDistance().
def launch_recycle.move_to | ( | un, | |
where | |||
) |
def launch_recycle.NextPos | ( | un, | |
pos, | |||
FarApart = 1 |
|||
) |
Definition at line 9 of file launch_recycle.py.
References debug.debug, vsrandom.randrange(), locale.str(), and log_faction_ships.tuple.
def launch_recycle.unOrTupleDistance | ( | un, | |
unortuple, | |||
significantp | |||
) |
Definition at line 41 of file launch_recycle.py.
References Vector.Mag(), and Vector.Sub().
def launch_recycle.whereTo | ( | radius, | |
launch_around | |||
) |