Functions Documentation
View Function Edit Function
Name typCreate
Syntax (typCreate unid XML) -> True/Nil
Argument List unid: a valid unid. Is usually created with typDynamicUNID.
XML: XML to feed into TypCreate. Can be created with cat strings + subst or fed straight in (look at Beyond the Mainline).
Returns True: if TypCreate works properly it returns true
Nil: if Typcreate fails for some reason it returns nil
Category 1.08, type, unid
Description Used to create new types ingame. Can be anything from topology to items to stations to playerships, etc.
Example http://forums.kronosaur.com/viewtopic.php?f=5&t=4843
Comment Best function in the game, hands down. Lets you create stuff on the fly and new types. Someone needs to make a mod that abuses this to the fullest extent.