ScriptEvent:setWeapon

From Mod Wiki
Revision as of 18:12, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string name -- Name of the invItemDef to select.
boolean instant -- If set, the weapon will not wait for the previous weapon to lower before switching.

Result

None.

Supported By

idPlayer

Functionality

Selects a weapon by name.