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.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: Roy, jun3hong