-
Notifications
You must be signed in to change notification settings - Fork 9
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
- New Game templates
- Editor Preferences
- General Settings
- Default Setup
- Colours Editor
- Room Editor
- Character Editor
- Cursor Editor
- Dialog Editor
- Font Preview
- GUI Editor
- Inventory Items Editor
- View Editor
- Sprite Manager
- Music and sound
- Voice speech
- Script Modules
- System limits
- Log Panel
- Plugins
- Other Features
Engine
Scripting
- Scripting Tutorial
- Scripting Language
-
Scripting API
- Script API Overview
- Standard Constants
- Standard Enumerated Types
- Standard Types
- Game variables
- Global arrays
- Global event handlers
- repeatedly_execute / repeatedly_execute_always
- Custom dialog options rendering
- Global functions: general
- Global functions: message display
- Global functions: multimedia actions
- Global functions: palette operations
- Global functions: room actions
- Global functions: screen effects
- Global functions: wait
- AudioChannel functions and properties
- AudioClip functions and properties
- Camera functions and properties
- Character functions and properties
- DateTime functions and properties
- Dialog functions and properties
- DialogOptionsRenderingInfo functions and properties
- Dictionary functions and properties
- DrawingSurface functions and properties
- DynamicSprite functions and properties
- File functions and properties
- Game functions and properties
- 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
- Object functions and properties
- Overlay functions and properties
- Parser functions
- Region functions and properties
- Room functions and properties
- Screen functions and properties
- Set functions and properties
- Speech functions and properties
- String functions
- System functions and properties
- TextWindowGUI functions and properties
- ViewFrame functions and properties
- Viewport functions and properties
- Obsolete Script API
- Event Types
- Key code table
- Audio in script
Legal Notice
Getting in touch
Misc