Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
LaunchWingmen Class Reference
Inheritance diagram for LaunchWingmen:
Script

Public Member Functions

def __init__
 
def __call__
 
- Public Member Functions inherited from Script
def __init__
 
def __call__
 

Data Fields

 faction
 
 shiptype
 
 num
 
- Data Fields inherited from Script
 nextscript
 

Detailed Description

Definition at line 489 of file campaign_lib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  faction,
  shiptype,
  num,
  nextscript = None 
)

Definition at line 490 of file campaign_lib.py.

491  def __init__(self,faction,shiptype,num,nextscript=None):
492  Script.__init__(self,nextscript)
493  self.faction=faction
494  self.shiptype=shiptype
self.num=num

Member Function Documentation

def __call__ (   self,
  room,
  subnodes 
)

Definition at line 495 of file campaign_lib.py.

References ClearFactionRecord.faction, PushRelation.faction, PopRelation.faction, LaunchWingmen.faction, launch.launch_wave_around_unit(), CargoSpaceCondition.num, AtMostActiveMissionsCondition.num, AtLeastActiveMissionsCondition.num, LaunchWingmen.num, and LaunchWingmen.shiptype.

496  def __call__(self,room,subnodes):
497  Script.__call__(self,room,subnodes)
498  if VS.networked():
499  return True
500  you=VS.getPlayer()
501  import launch
502  wing=launch.launch_wave_around_unit("Wingmen",
503  self.faction,
504  self.shiptype,
505  "default",
506  self.num,
507  500,
508  1000,
509  you)
510  wing.setFgDirective('A')
511  wing.setFlightgroupLeader(you)

Field Documentation

faction

Definition at line 492 of file campaign_lib.py.

num

Definition at line 494 of file campaign_lib.py.

shiptype

Definition at line 493 of file campaign_lib.py.


The documentation for this class was generated from the following file: