GetObjectModel: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
params=<source>(objectid)</source>
params=<source>(objectid)</source>
objectid : The ID of the object to retrieve the model for.|
objectid : The ID of the object to retrieve the model for.|
retvals=The model ID of the object.|
retvals=The model ID of the object. Throws error if object not found.|
relfuncs=
relfuncs=
*[[IsObjectStreamedIn]]
*[[IsObjectStreamedIn]]
*[[GetObjectModel]]
*[[GetObjectModel]]
}}
}}

Latest revision as of 14:46, 14 December 2023

This function was added in v1.7 beta and will not work in previous versions.


Description:
Gets the model of a pickup


Parameters:

(objectid)

objectid : The ID of the object to retrieve the model for.


Return Values:
The model ID of the object. Throws error if object not found.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.