Events

From HIVE
Revision as of 08:41, 27 March 2013 by DevliN (talk | contribs) (DevliN moved page Event to Events without leaving a redirect)
Jump to navigation Jump to search

An event is any in-game phenomenon. Events are used as a way of defining when the client will check the conditions of a trigger will return true. The proper use of events will help ensure that performance and game resources are adequately maximized. If multiple events are listed, then only one need return true for conditions to be checked.

Preset Events

These events are scripts that come bundled with the Starcraft II editor.

General

Cutscene Bookmark Fired: returns true when a cutscene bookmark is passed.

Cutscene Endscene Fired: returns true when a cutscene ends.

AI

Player Sends AI Wave: returns true when a specified player sends an AI wave.

Camera

Camera Moves: returns true when a specified player moves the camera

Cinematics

Movie Function: returns true as defined in a .event file associated with a specific texture movie.

Conversation

Conversation Reply Selected: returns true when a specified player selects a specified reply from a specified conversation.

Data Conversation State Changed: returns true when a data conversation state has been changed.

Dialog

Dialog Item Is Used: returns true when a dialog item is used0--

Environment

Effect Used

Game

Chat Message

Cheat Used

Map Initialization

Save Game Finished

Save Game Started

Ping

Player Ping

Player

Player Changes Alliances

Player Leaves Game

Player Property Changed

Story

Mercenary Panel Exited

Mercenary Panel Purchase

Mercenary Panel Selection Changed

Mission Archive Panel Play Scene

Mission Archive Panel Exited

Mission Archive Panel Play Mission

Mission Archive Panel Selection Changed

Planet Panel Birth Complete

Planet Panel Canceled

Planet Panel Death Complete

Planet Panel Launched

Planet Panel Planet Selected

Planet Panel Pressed Replay Button

Purchase Category Selected

Purchase Exit

Purchase Item Selected

Purchase Made

Research Panel Close Button Clicked

Research Panel Research Button Clicked

Research Panel Selection Changed

Victory Panel Exited

Victory Panel Play Mission Again

Timer

Periodic Event

Time Elapsed

Timer Expires

Trigger

Generic Event

Player Skips Trigger

UI

Abort Mission

Button Pressed

Custom Dialog Dismissed

Game Credits Finished

Game Menu Item Selected

Key Pressed

Mouse Clicked

Mouse Moved

Unit

Unit Acquires Powerup

Unit Acquires Target

Unit Aiming Progress

Unit Attribute Change

Unit Becomes Idle

Unit Behavior Changes

Unit Construction Progress

Unit Dies

Unit Enters/Leaves Point

Unit Enters/Leaves Range Of Unit

Unit Enters/Leaves Region

Unit Gains Experience

Unit Gains Experience Level

Unit Is Attacked

Unit Is Being Removed

Unit Is Created

Unit Is Issued Order

Unit Is Revived

Unit Learn Progress

Unit Loads/Unloads Cargo

Unit Manipulates Inventory

Unit Owner Changes

Unit Property Changes

Unit Research Progress

Unit Revive Progress

Unit Specialization Progress

Unit Starts Attacking

Unit Takes Damage

Unit Training Progress

Unit Uses Ability

Unit Selection

Unit Is Clicked

Unit Is Highlighted

Unit is Selected