-
Notifications
You must be signed in to change notification settings - Fork 0
Tumbleweed_actions
These functions are mainly used to control the verb buttons.
void Verbs.UsedAction (Action test_action);
Used to determine, which action has been selected by the player. Instead of checking cursor modes, this function is used.
bool Verbs.IsAction(Action test_action);
Used to check, if the current action is the one, given in the parameter.
void Verbs.SetActionButtons(Action action, int btn_ID, int sprite, int sprite_highlight, char key);
This functions connects the verb buttons with the action and is also used to assign / change the graphics of the verb buttons.
See also: Verbs.AdjustLanguage
void Verbs.SetDefaultAction(Action def_action);
Used to define, which action is being used, if no verb has been clicked. Usually this is "walk to".
void Verbs.SetAction(Action new_action);
Since the cursor modes are bypassed, this function defines the current action. Among other things, this function is called by clicking a verb button.
void Verbs.SetAlternativeAction(char extension, Action alt_action);
This function makes the right-click shortcuts work. If you use extensions like ">p" (e.g. pickup), this function makes sure, that the correct verb button is highlighted.
See also: Verbs.CheckDefaultAction
void CheckDefaultAction();
This function checks for a given extension in hotspots, objects and characters. If there isn't an extension, a default action is given, e.g. "Talk to" if the mouse is over a character. In case of a given extension, the default actions are being overridden. It is also defined here, which letters are causing what default action. See the chapter Extensions for more details.
See also: Extensions
void UpdateActionBar();
This function is used to show and update the status bar. It checks for an extension, triggers the translation and renders the results on screen.
See also: Verbs.TranslateAction, Verbs.RemoveExtension
void ToogleGuiStyle(int enable_new);
Switches between classic SCUMM mode and new one.
Getting Started in AGS
Editor Reference
- Music and sound
- Distributing your game
- Backing up your game
- The text parser
- Translations
- Global variables
- Custom Properties
- Plugins
- Lip sync
- New Game templates
- Debugging features
- Auto-number speech files
- Integration with Windows
- Source Control integration
Engine
Scripting
- Scripting tutorial part 1
- Scripting tutorial part 2
- Pointers in AGS
- Calling global functions from local scripts
- The script header
- String formatting
- Multiple Scripts
- Understanding blocking scripts
- Dynamic Arrays
- Extender functions
- Game variables
- Predefined global script functions
- repeatedly_execute (_always)
- Custom dialog options rendering
- Built-in enumerated types
- Script language keywords
- AudioChannel functions and properties
- AudioClip functions and properties
- Character functions and properties
- DateTime functions and properties
- Dialog functions and properties
- DialogOptionsRenderingInfo functions and properties
- DrawingSurface functions and properties
- DynamicSprite functions and properties
- File functions and properties
- Game / Global functions
- GUI functions and properties
- GUI control functions and properties
- GUI Button functions and properties
- GUI InvWindow functions and properties
- GUI Label functions and properties
- GUI List Box functions and properties
- GUI Slider properties
- GUI Text Box functions and properties
- Hotspot functions and properties
- Inventory item functions and properties
- Maths functions and properties
- Mouse functions and properties
- Multimedia functions
- Object functions and properties
- Overlay functions and properties
- Palette functions
- Parser functions
- Region functions and properties
- Room functions
- Screen functions
- Speech functions and properties
- String functions
- System functions and properties
- Text display / Speech functions
- ViewFrame functions and properties
Working on Legacy games
Upgrading from a previous version
- Upgrading to AGS 2.7
- Upgrading to AGS 2.71
- Upgrading to AGS 3.0
- Upgrading to AGS 3.1
- Upgrading to AGS 3.2
- Upgrading to AGS 3.3
- Upgrading to AGS 3.3.5
- Upgrading to AGS 3.4
- Upgrading to AGS 3.4.1
Legal Notice
Getting in touch