spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * SCUMM_VERBCOIN_GUI functions

SCUMM_VERBCOIN_GUI Inventory_GUI

static SCUMM_VERBCOIN_GUI.Inventory_GUI(int gInventory_ID,int gInvUnderlay_ID)
Sets the inventory gui ID's, so the module will know which GUI is your inventory and which GUI is the inventory underlay.

This allows you to change your inventory GUI's on the fly, which is particularly interesting if you have a game with multiple playable characters. You could have a different inventory for each character!

If the game is 32-bit with alpha-blended (transparent) GUI buttons on the inventory, you need to use an Underlay gui which contains the actual inventory background, and the regular gui which is empty except for the inventory window and the gui buttons.

If your game does not use alpha-blended GUI buttons, leave the underlay inventory empty. (use sprite 0 for its background)

NOTE: This function is part of the Verb Coin template and is only available if you used this template to create your game.

Example:

SCUMM_VERBCOIN_GUI.Inventory_GUI(2, 3);

will tell the module your inventory gui is GUI nr.2 and that the underlay gui is GUI nr.3


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.