Staredit Network > Forums > SC2 Assistance > Topic: Custom Variables in Triggers-How?
Custom Variables in Triggers-How?
May 20 2010, 4:40 pm
By: Zenturen  

May 20 2010, 4:40 pm Zenturen Post #1



To gain an better understanding of Galaxy Editor I was using "The Hungry Baneling" map by Johnfloyd. When trying to make a similar speed increase map, I was trying to use custom variables.

I have no clue how to set the custom variables so they are accessible when creating triggers though...There are simply no variables to choose from even though I thought I set them. :dontgetit:

As requested...




Also, the only available tab which gives options to choose from is the function tab. I have also looked under game variants and game attributes to change variables, but I don't believe that is their intended use (also they don't work for me either).
I have no clue what you mean by a local variable.

Post has been edited 3 time(s), last time on May 20 2010, 7:01 pm by Zenturen.



None.

May 20 2010, 4:55 pm 13Stallion Post #2



Can you post more specific information please, its hard to tell what the problem is..

-It might be because you specified a variable for a certain data type such as - integer, If you are using a function etc.. that doesn't use an integer, it just won't show up

-If you declared a local variable it will ONLY show up in the trigger that you declared it in.

-Try using the Action: Variable -> Set Variable and see if your variable shows up there

-Post more info/screenshots if you can.



None.

May 20 2010, 7:26 pm Zenturen Post #3



Oh wow, what a revelation....After trying this for hours I just figured out if the "Defines Default Value" box is checked, the variable does not show up. When not checked it does! :D

Thanks, I figured it out when trying to use set var trigger.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
Please log in to shout.


Members Online: 2sophiec241hh7, 5claudiac733gB1