GetObjectModel: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the model of a pickup| params=<source>(objectid)</source> pickupid : The ID of the object to retrieve the model for.| retvals=The model ID of the object.| relfuncs= *IsObjectStreamedIn *GetObjectModel }}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
{{Welcome|desc=Gets the model of a pickup|
{{Welcome|desc=Gets the model of a pickup|
params=<source>(objectid)</source>
params=<source>(objectid)</source>
pickupid : 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.