User Tools

Site Tools


eliteapi:functions:entity:setranged

SetRanged

Sets the entities ranged weapon.

ELITEAPI_API bool __stdcall SetRanged(void* apiObject, int index, unsigned short rangedId);

Parameters

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

Return Value

True on success, false otherwise.

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