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.
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[2024-5-15. : 3:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
Please log in to shout.


Members Online: 9madisone7223hb3, 9harpere9323rL0, 1milae8323eb6, Roy