User Tools

Site Tools


eliteapi:functions:entity:setbody

SetBody

Sets the entities body.

ELITEAPI_API bool __stdcall SetBody(void* apiObject, int index, unsigned short bodyId);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • index [in]
    • The index of the entity to obtain.
  • bodyId [in]
    • The body model id to set the entity to.

Return Value

True on success, false otherwise.

eliteapi/functions/entity/setbody.txt · Last modified: 2014/12/08 02:28 (external edit)