EngineReplaceCOL: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}}<!-- Change this to "Client function" or "Server function" appropriately--> {{Needs_Checking|The argument order might be vice versa}} <!-- Describe in plain e...) |
(No difference)
|
Revision as of 13:02, 26 November 2007
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