EngineLoadCOL

From Multi Theft Auto: Wiki
Revision as of 22:15, 9 June 2007 by IJs (talk | contribs)
Jump to navigation Jump to search

This function loads a RenderWare Collision (COL3) file into GTA. The collisions can then be used to provide collisions for in-game objects.

For vehicles, please omit this function by embedding your COL file into your DFF file. This way, you can be sure that the COL file is correctly (and automatically) loaded when calling engineLoadDFF.

This is a client-side function. Be sure to transfer your COL file by including it in the meta file.

Syntax

txd engineLoadCOL ( string col_file ) 

Required Arguments

  • col_file: The relative path to the col file you want to load

Returns

Returns a col object if the file was loaded, false otherwise.

Example

See Also