inv_item_in_slot(char_name, slot_name)

Parameters:
char_name (string) name of the character
slot_name (string) name of the slot (can be "unarmed", "melee", "pistol", "smg", "shotgun", "rifle", "explosive", "special", "vehicle", "grenade", "single_use", "best", "best-firearm", "best-melee", "best-non-lethal", "best-non-explosive")
 
Returns:
(string) name of the item in the slot, or "none" if no item is in that slot

Description:
Get the item that a character has in a particular weapon slot.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16