SetHotkeyItem

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the item associated with a hotkey. Specified item form must already be present in player's inventory.

Syntax

[help]
(none) SetHotkeyItem WhichHotKey:int Item:ref 

Example

ref rOldHotkey1

SetHotkeyItem 1, rOldHotKey1

See Also