Actors

From HIVE
Revision as of 10:04, 2 April 2011 by Jack (talk | contribs) (Created page with "Actors are GalaxyEdit's data editor's way of linking graphics and sounds together to form what you can see and hear on the map. They include units, attacks, models, text, sounds,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Actors are GalaxyEdit's data editor's way of linking graphics and sounds together to form what you can see and hear on the map. They include units, attacks, models, text, sounds, range indicators, terrain deformations, and more. They are possibly the most important thing in the data editor, but also one of the most complicated things.

Actor Events

Actors don't do anything unless you have events. Events are like triggers; you need a condition, and if the condition is met, an action happens. For example, on unit birth, you want the unit model to be created. When the unit is ordered to move, you want it to stop playing its idle animation or firing animation before it starts walking. When the unit attacks, you want to have it use a specific attack animation depending on what it attacks, and perhaps a particular sound played. All this is controlled with actor events.

MORE TO COME, WIP.