User Tools

Site Tools


eliteapi:functions:entity:setsub

SetSub

Sets the entities sub weapon.

ELITEAPI_API bool __stdcall SetSub(void* apiObject, int index, unsigned short subId);

Parameters

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

Return Value

True on success, false otherwise.

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