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.
[10:02 pm]
Symmetry -- I was really just figuring out how to compile
[10:02 pm]
Symmetry -- I didn't make it do anything
[09:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[08:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[08:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[06:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[03:20 pm]
l)ark_ssj9kevin -- le reddit
[02:55 pm]
Moose -- >reddit :rip2:
[02:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: Sie_Sayoka, DarkenedFantasies, Moose, Symmetry