antdanax.blogg.se

Starcraft 2 editor tutorial
Starcraft 2 editor tutorial













starcraft 2 editor tutorial

As an example this should look like this: This is the field at the bottom of the trigger editor when you create a new action. The next field we will look at is the Grammar Text.

starcraft 2 editor tutorial

There are many types ranging from variable data types to presets (operators like !=,

starcraft 2 editor tutorial

It is similar to a local variable because it is attached only to a specific action. It is a field custom to that specific instance of this action. A parameter is essentially one of the red or green options on actions and functions that you fill in. Returns and parameters: In custom actions you will not use returns, they are only for functions, but parameters are important to make your custom actions as versatile and fluid as possible. *Traceline is only the name of the function being made, it has nothing to do with what is actually in the function.Įach of these does different things but i will explain the most important parts first. You should get a picture that looks like this on the right: When you first create one (via right clicking the left hand box for triggers, highlighting new, and selecting New Action Definition. These are very usefull because you can make it much faster to do more routine actions or create functions that get complex values with mathematics or even run off variables. In this tutorial we will be going over 2 things, custom actions and functions.















Starcraft 2 editor tutorial