AddCustomCode

Description

Allows you to call an external .lua file.

Example

addCustomCode(NewShipType,"data:Ship/Kus_MissileDestroyer/Kus_MissileDestroyer.lua","","Create_Kus_MissileDestroyer","Update_Kus_MissileDestroyer","Destroy_Kus_MissileDestroyer","Kus_MissileDestroyer",2)

Arguments