EngineReplaceCOL
Jump to navigation
Jump to search
![]() |
This article needs checking. |
Reason(s): The argument order might be vice versa |
This function replaces the collision file of the given model id to the collision file passed. Use engineLoadCOL to load the collision file first.
Syntax
bool engineReplaceCOL ( col theCol, number modelID )
Required Arguments
- theCol: The collision file to replace with
- modelID: The model ID whose collision file you want to replace
Returns
Returns true if the collision was successfully replaced, false or nil if the collision could not be replaced for a reason.
Example
This example does...
--TODO