Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
wc1 Namespace Reference

Data Structures

class  wc1
 

Functions

def findOriginAndMove
 

Function Documentation

def wc1.findOriginAndMove (   carrier,
  carrierloc = (0000,00 
)

Definition at line 10 of file wc1.py.

References Vector.Add(), unit.getJumpPoint(), and vsrandom.randrange().

10 
11 def findOriginAndMove(carrier,carrierloc=(0000,00,-10000)):
13  beg=Vector.Add(origin.Position(),Vector.Add (carrierloc,(carrier.rSize(),0,0)))
14  carrier.SetPosAndCumPos (beg)
15  VS.getPlayer().SetPosAndCumPos(Vector.Add(beg,(00,0,100)))
return origin