Functions Documentation
View Function Edit Function
Name sysCreateStation
Syntax (sysCreateStation stationType position) => spaceObject
Argument List stationType: the UNID of the station to be create
position: a position vector or nil
Returns spaceObject: the created station
Category station, create, unid
Description Creates a station from its UNID at the desired position
Example
; [From Transcendence.xml]
; Create a barricade
(setq barricade 
(sysCreateStation barricadeClass 
(sysVectorPolarOffset gPlayerShip 
(multiply newOrientation 90) 2
)
)
)
Comment Basic function to create StationType spaceobjects.
Note: unlike sysCreateShip, this function will not take the position of a spaceobject given to it. Use (objGetPosition theObject) if you need that functionality.