LSO CreateObject( string BaseClass , string ClassName )


Creates and returns an LSO for use in entity constructors. Not to be confused with SpawnScript


1 string BaseClass
Specifies the class to inherit from. All classes should ultimately have ScriptBase at the top of their inheritance chain. Case-sensitive.
2 string ClassName
This should match the name of the class exactly. This parameter is used to do internal setup for when another class wishes to inherit from this one.


1 LSO object
Returns the created LSO, ready for use.
wikOS powered By wiltOS Technologies