• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:39
CET 22:39
KST 06:39
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Dark completes military service, returns to SC23[BSL23] RO16 Group Stage17Weekly Cups (Nov 2-8): herO back on top?2Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0Weekly Cups (October 19-25): Clem triples first in 5.0.175
StarCraft 2
General
Greetings.. Dark completes military service, returns to SC2 No more SC2 streamers on team liquid? Serral's getting trashed by New Catsle's Mind Weekly Cups (Nov 2-8): herO back on top?
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) soO & FanTaSy return! SC2 Kevin Scrim 4v4 (Nov 16) RSL goes to London! 2026 Offline Finals Nov 21-22 Tasteless Time Warp: SC Evo Showmatch (May 25) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
Starcraft 2 Advance [G] How to playtest arcade maps [D] the control group Simple Questions/Answers
External Content
The PondCast: SC2 News & Results Mutation # 551 Robotic Revival Mutation # 550 Graveyard Shift Mutation # 549 Endless Sparkles
Brood War
General
List of top players active on ShieldBattery Recommended BW Settings for Mouse and Video BW General Discussion [BSL23] RO16 Group Stage Starcraft player cRuZa Passed away.
Tourneys
KCM Race Survival 2026 Season 4 BWCL Season 65 Announcement [Megathread] Daily Proleagues [BSL23] Ro16 Group C - Sunday 21:00 CET
Strategy
Infested Terran strategies in 2026 Nuke strategy worked in K-League 2026-11-09 50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy)
Other Games
General Games
Nintendo Switch Thread List of Game Threads The PlayStation 5 Stormgate/Frost Giant Megathread Path of Exile
Dota 2
Can Game Data Analytics Help Players Improvements
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Trading/Investing Thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread Dating: How's your luck?
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The time I organised my…
AssyrianKing
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 14206 users

Simple Questions/Answers - Page 147

Forum Index > SC2 Maps & Custom Games
Post a Reply
Prev 1 145 146 147 148 149 182 Next
Meavis
Profile Blog Joined September 2011
Netherlands1300 Posts
December 06 2014 01:19 GMT
#2921
also, holding ctrl allows you to drag objects on the exact center or border of tiles.
"Not you."
SwedenTheKid
Profile Joined July 2014
567 Posts
December 06 2014 01:30 GMT
#2922
Thanks guys!
Casual Mapmaker
MorroLord
Profile Joined March 2013
Italy4 Posts
December 18 2014 18:06 GMT
#2923
Hello! i search about a good Bracket Maker, with editing possibilities.. any tips?
Thanks
yeah
javascripter
Profile Joined September 2014
14 Posts
December 23 2014 17:04 GMT
#2924
Is there a way to lower all the land on a map equally? I started it out a little to high for water to work.

Also, is there a way to use triggers to raise supply depots? And does it matter whether or not it is currently lowered?
OtherWorld
Profile Blog Joined October 2013
France17333 Posts
December 23 2014 17:18 GMT
#2925
I don't think you can lower the land, however you can change the height of the water easily. I have no idea about your second question, but I think it is possible, since raising the depot is an ability that the player can use.
Used Sigs - New Sigs - Cheap Sigs - Buy the Best Cheap Sig near You at www.cheapsigforsale.com
javascripter
Profile Joined September 2014
14 Posts
December 23 2014 17:19 GMT
#2926
Yes, but water on raises to a max of 48 height or something like that, and my lowered cliff areas are above that. Which was somewhat of a mistake.
javascripter
Profile Joined September 2014
14 Posts
Last Edited: 2014-12-23 20:23:24
December 23 2014 18:59 GMT
#2927
Also, using a trigger with two events that will trigger it, how do I set it up so that I can later do something differently depending on which one happened? (increment a variable if one happens and decrements a variable if another happens?)

And does setting a variable equal to "+" increment it?

EDIT: It doesn't, how do you increment/decrement a variable?
turtles
Profile Blog Joined August 2011
Australia360 Posts
December 23 2014 23:07 GMT
#2928
is there a way to use triggers to raise supply depots?


Go into the data editor and look at supply depots in the units tab (or lowered supply depots if they are a seperate unit). It will have a section called abilities on of which will be for lowering/raising. In the triggers section you want "issue unit order" trigger. Select the order and chose "order with no target" and select the ability.

Some abilities do different things based on which parameter you give them for example 0 might be raise and 1 might be lower. So you might have to use another trigger to select which one. I think it's something like "ability command for ability" in the trigger editor. I don't have it in front of me so I can't give you specifics. Hopefully I gave enough info to give you a lead though.

Also, using a trigger with two events that will trigger it, how do I set it up so that I can later do something differently depending on which one happened? (increment a variable if one happens and decrements a variable if another happens?)


If you are not familliar with programming then I recomend that you find a beginners tutorial about functions, triggers, different variable types etc. It will teach you what you need to know.

If you are familliar with programming then you need two seperate triggers calling a function (the editor calls functions with no return type "action defenitions") with different parameters based on which trigger fired.

how do you increment/decrement a variable?


Doing basic maths:

Say you have a variable x which is an integer.

use the function "set variable" and set the variable to x. As for the right hand side of the equation click it and go to functions and look into the math section or just type in the search field. Search for one called something like "arithmatic (integer)" or somethjing like that. set the two fields as x and 1.

It will end up looking like "x = x + 1"

Short cut for modifying a variable

There is a function called "modify variable (int)" which is a shortcut for the above if you only want to increment/decrement/other a variable.
javascripter
Profile Joined September 2014
14 Posts
December 24 2014 01:46 GMT
#2929
Sweet. It turned out "issue order" works for activating abilities. And I found the bit for math you were talking about.

I do know programming. How do I call the action definition (I find calling them definitions strange though) from the trigger?
(Also, I haven't heard of "trigger" in programming. Is it kinda like an event or interrupt? (I think those are fairly similar?))
turtles
Profile Blog Joined August 2011
Australia360 Posts
December 24 2014 02:18 GMT
#2930
I do know programming.


I should have just looked at your name

I haven't heard of "trigger" in programming. Is it kinda like an event or interrupt? (I think those are fairly similar?))


To me a trigger is a function which gets called when it's event happens. An event is something like "unit dies", so every time a unit dies SC2 will call that function. But I've heard others refer to EVERYTHING in the trigger editor as a trigger so I'm not sure what the proper term to use is. But yes, to my understanding it's exactly like an event or interupt.

How do I call the action definition


I'm assuming you're using the GUI. (there are ways you can write the script by hand in a text editor and import it, maybe that would feel more natural to you but I think the GUI is quite good)

Bottom left is a list of all the functions/triggers/action definitions. You can right click and it will come down with a menu. One of them is "create action definition". It's silly when an "action definition" is just a regular function which returns NULL but for some reason Blizzard decided they had to give it a different name to confuse people.

click on the newly created action definition and you will see sections for parameters, variables, and actions. Right click the parameters and click "new parameter" and chose what variable type the parameters will be.

Once your action definition is set up go to the trigger and create new action. The action definition should be there in the list of possible actions. You can set the parameters to call it with.
javascripter
Profile Joined September 2014
14 Posts
Last Edited: 2014-12-24 06:25:23
December 24 2014 02:30 GMT
#2931
The GUI isn't amazing, but it also isn't horrible, and it is Way better than labview, Which I have had to do before.
If I could convert the stuff from the GUI to code and back on the Fly, I might do that, but I'M lazy and don't like to learn whole New languages. (especially the stuff I'M asking about Here)

I didn't even think of looking for the name of the function.

How do I set up something to log the current value of int variables? That would be helpful for debugging.
Ej_
Profile Blog Joined January 2013
47656 Posts
December 28 2014 19:56 GMT
#2932
im making a 4p rotational map and the symmetry tool is fucking up some things, most notably mineral lines. Is that to be expected? Do I just have to place the resources manually?
"Technically the dictionary has zero authority on the meaning or words" - Rodya
TheFish7
Profile Blog Joined February 2012
United States2824 Posts
December 28 2014 23:46 GMT
#2933
You want to use a 90 degree top-down camera view when using the symmetry tool
~ ~ <°)))><~ ~ ~
turtles
Profile Blog Joined August 2011
Australia360 Posts
December 29 2014 03:22 GMT
#2934
How do I set up something to log the current value of int variables? That would be helpful for debugging.


There is a debugger you can use though I don't like it much. Look under file->preferences or something and you have to start the game in windowed mode.

I've created my own debbugging tools library which I use sometimes but no matter what approach I take there are downsides to it. I'm yet to find a good way to log actions for later debugging.
sleightofderppro
Profile Joined January 2015
United States1 Post
Last Edited: 2015-01-06 20:21:38
January 06 2015 20:18 GMT
#2935
Where are the Terran Vehicle and Ship Weapons/Plating upgrade in the editor? Like the HotS upgrades where both are together. Only the WoL upgrades show up in the search/armory and I've quadruple checked to make sure I'm on the HotS editor, and I can't find it. Here is my search page, as you can see I made a new mod just to be sure it's on HotS
OtherWorld
Profile Blog Joined October 2013
France17333 Posts
January 08 2015 14:45 GMT
#2936
Ok so I wanted to make a map or two during this week of free time I have, but my editor has an unexpected bug. Here's what happens : I can place units, doodads, regions, etc, but once they are placed I can't select them (to move them for example). Example : I place a gas geyser, then press space to switch in selection mode, my cursor gains a 'S' near it, but when clicking or boxing the geyser nothing happens, just like if I was boxing an empty area.
Used Sigs - New Sigs - Cheap Sigs - Buy the Best Cheap Sig near You at www.cheapsigforsale.com
ward4321123
Profile Joined January 2015
United States1 Post
Last Edited: 2015-01-08 17:39:58
January 08 2015 17:39 GMT
#2937
Bot edit.

User was banned for this post.
JaredStarr
Profile Joined June 2013
Canada115 Posts
January 09 2015 00:56 GMT
#2938
[image loading]

Would this work as a 4th and up base in melee?
SwedenTheKid
Profile Joined July 2014
567 Posts
January 09 2015 02:20 GMT
#2939
Maybe? It depends on the rest of the map...
Casual Mapmaker
JaredStarr
Profile Joined June 2013
Canada115 Posts
January 09 2015 04:56 GMT
#2940
There's no obvious issues though? Tanks?

Mineral line would face the map center, hallways on either side and. Main would be somewhere behind it.
Prev 1 145 146 147 148 149 182 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 21m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 87
EmSc Tv 29
StarCraft: Brood War
Britney 10679
Dewaltoss 122
Barracks 36
Counter-Strike
zeus786
gobbtv203
Heroes of the Storm
Liquid`Hasu549
Other Games
gofns6034
tarik_tv5337
Grubby3164
shahzam361
C9.Mang0138
Mew2King49
UpATreeSC44
Chillindude18
Railgan12
NeuroSwarm0
Organizations
Other Games
BasetradeTV154
StarCraft 2
EmSc Tv 29
EmSc2Tv 29
[ Show 13 non-featured ]
StarCraft 2
• Adnapsc2 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• blackmanpl 22
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade1108
Other Games
• imaqtpie1136
• Shiphtur463
Upcoming Events
OSC
1h 21m
ArT vs MindelVK
MiniZergUA vs TBD
Shameless vs TBD
Ultimate Battle
14h 21m
OSC
16h 21m
OSC
1d 1h
ByuN vs MaxPax
herO vs Krystianer
Percival vs Shameless
LetaleX vs YoungYakov
Nicoract vs Gerald
GgMaChine vs ArT
CranKy Ducklings
1d 12h
WardiTV Invitational
1d 14h
IPSL
1d 19h
TerrOr vs IJ_Terran
rasowy vs Hazorath
BSL
1d 22h
TerrOr vs OyAji
UltrA vs Gosudark
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
[ Show More ]
IPSL
2 days
Art_Of_Turtle vs KameZerg
Radley vs George
BSL
2 days
Artosis vs Dewalt
Ret vs Tech
WardiTV Weekly
3 days
PiGosaur Cup
5 days
The PondCast
5 days
GSL
6 days
Liquipedia Results

Completed

Proleague 2026-11-11
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
Individual League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
BLAST Rivals Fall 2026
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

YSL S4
Sector 591
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
StarCraft2 Weekly Open Tournament 2026 Grand Finals
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Underdog Cup 2026 Div 2-3
PGL Bucharest 2027
BLAST Bounty Winter 2027
PGL Major Singapore 2026
Stake Ranked Episode 6
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.