Staredit Network

Staredit Network -> StarForge -> Alternative Triggers?
Report, edit, etc...Posted by JSonicC on 2005-06-13 at 07:00:26
Is there an alternative way to do triggers in starforge. The new way of triggering is confussing, and when i do it i get errors and cant ever figure out whats wrong. Ive used the guide and im not dumb, i just prefere starcrafts own triggers.
Report, edit, etc...Posted by BeeR_KeG on 2005-06-13 at 12:03:32
Unless Heimdal makes an update to include Staredit's triggers there is no way to use that method in Starforge.

You can't expect to learn how Starforge triggers are written in a day.
Basicly it's really simple. On the left side are the actions/conditions to choose from. On that small space on top of your Conditions you can see this guide for the current action/condition.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-06-15 at 21:46:29
QUOTE(BeeR_KeG @ Jun 13 2005, 09:03 AM)
You can't expect to learn how Starforge triggers are written in a day.

I did biggrin.gif
Report, edit, etc...Posted by Cole on 2005-06-15 at 23:10:31
QUOTE
Ive used the guide and im not dumb, i just prefere starcrafts own triggers.

Your not dumb, but you just are impatient about how fast you learn.
Trust me, if you keep at it you will understand it, and possibly post the triggers that give you errors etc... then we can correct you.
Starforge is a much faster way of doing triggers when you learn how to use it properly.
Report, edit, etc...Posted by CheeZe on 2005-06-16 at 00:23:57
In order to become familiar with the triggers, learn these things:

Functions --> f(x,y,z)
Variables --> x,y,z

Each Condition or Action is simply a function with parameters of the variables.

The variable in this case are the little selection things you would do in the regular editor, but instead of having to do all of these useless clicks, you just type what you want and go. Example: type the name instead of selecting it.

All of the parameters are guided at the top which tell you what kind of field it is. Players would be P1...P(n), or Score Type would be Custom, Kills, Buildings, etc.

If you understood the above, then you should be able to learn it extremely quickly.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-06-16 at 02:10:31
Also most people forget the semicolon!
function(variables);
is what it should be like.
Report, edit, etc...Posted by ManateeQuest on 2005-06-22 at 17:06:06
It looks a lot like scripting languages.
Pick up a book on Java or C++. I find programming is a good skill to develop for making maps. It also, helps you problem solve, a skill which is very underrated, and extremely important.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-06-22 at 18:29:57
I think that would confuse him more.

Here is what you do:
1. Go into the triggers, click new or modify (what ever you need)
2. Select the players it is for. Just check the needed ones.
3. In the 2nd (middle) box, just click it to bring the cursor in it. (This is the Conditions box)
4. On the right side, you will see a list of conditions, like "Accumulate", "Always", etc.
5. Double click one and it will copy into the Conditions box. (You can also type them in)
6. Now put in a "(" (Shift+9) and above the Conditions box you will see a thing like "Accumulate(Player, Comparison, Number, ResourceType);"
7. Say you wanted "Current player accumulates at least 10 minerals", then you would put in this:
Accumulate(CurrentPlayer,AtLeast,10,Ore);
~~An Easier Way~~
Ok, so you don't want to type all of that, or you are confused about something?
If you notice on the right it will usually have something in it. So for the example abouve, just do this:
1. double click "CurrentPlayer"
2. add a comma
3. double click "AtLeast"
4. add a comma
5. This one, because it can be any number, does not have a list; so you type it in.
So we would type 10.
6. add a comma
7. select "Ore"
8. And then add a ");" (Shift+0, then a semicolon)

Now for actions, the bottom box is where you put it. It is the same, only instead of having the list with conditions, it will show actions. The list on the right is your friend biggrin.gif

When you are done, check for any mispellings and MAKE SURE EACH LINE ENDS WITH A SEMICOLON!! (lots of people have troubles with StarForge triggers because they forget the semicolon) Then click Save.

Just play around a bit and eventually you will get the hang of it.

EDIT: I think I may have confused him more than any scripting language...
Report, edit, etc...Posted by Heimdal on 2005-06-22 at 19:52:21
The easiest way: Type:

a(c, a, 10, o);

Whenever you type a token character (parentheses or comma) it will insert the currently selected paramter from the item list.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-06-22 at 20:56:20
Ok then... I did not know about that biggrin.gif
That is probably why I put "An easyer way" tongue.gif

EDIT: Now the only thing that need to be added is when you press Enter it automatically adds a semicolon if one is not there tongue.gif
Report, edit, etc...Posted by Sniper on 2005-06-22 at 21:46:13
I kinda like the way SF triggers are done. It makes it easier on me cause I'm kind of a fast typer. I prefer this over scxe because I usually misclick and end up screwing over my triggers completely.
Next Page (1)