This site has been archived and made available for preservation purposes. No edits can be made.

EquipItem

This is an old revision of this page, as edited 04-26-2012, 09:03 PM by foxtacles (contribs). It may differ significantly from the current revision.
Makes an [Actor] equip an Item.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::State (*EquipItem)(vaultmp::ID, vaultmp::Base);
native Bool:EquipItem(ID, base);

[top]Parameters

vaultmp::ID - the ID of the Actor
vaultmp::Base - the base ID of the Item to equip

[top]Return value

Returns a vaultmp::State indicating the success.