Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
InventoryModeOnlyCodex
Syntax
C++
int InventoryModeOnlyCodex(IFunctionHandler * pH, bool enable);

Syntax: Game.InventoryModeOnlyCodex( enable ) 

Do not allow player to switch to anything else than codex in player inventory. Other inventories (looting, shopping, ...) are not affected.

Game.InventoryModeOnlyCodex( true ); 

 

Copyright (c) 2012. All rights reserved.