@ST4RKiLL3R:
@SouLCarveRR:
If you're interested at all in the technical side of it, 65536 is equivalent to 2^16, therefore it is the highest unsigned integer you can represent with 16 bits, or two bytes, (assuming you start counting from 1 instead of 0, which is a bit strange imo). A common programming practice is to set aside the highest possible value of a data type to represent "infinity," which is what blizzard seems to have done here.
Sorry, I'm a programmer irl, and I know this is probably way more detail than you ever wanted to know, but I thought you might be curious.
I haven't seen any tutorials on how to prevent players from walling off (creating a wall of towers that ground units cant get past) in a tower defense so I thought I'd share the way I do it. Feel free to let me know if you find a better way to do it. For this to work, you will need to make sure your tower's footprint is something like "Footprint 1x1" NOT "Footprint 1x1 (Contour)," which is a mistake I originally made.
In the trigger editor I do this:
Event:
Any unit construction progress is Started
Actions:
if Pathing cost between Spawn Point and End Point == 65536
then
Unit - Kill (Triggering progress unit)
Currently when units are attacked offscreen the game pings the location and plays the sound "Our forces are under attack." I would like to disable this for my custom map, but have been unable to figure out how to do it. Does anyone know?
0
Sorry, I'm a programmer irl, and I know this is probably way more detail than you ever wanted to know, but I thought you might be curious.
0
In the trigger editor I do this:
Event:
Any unit construction progress is Started
Actions:
if Pathing cost between Spawn Point and End Point == 65536
then
Unit - Kill (Triggering progress unit)
0
@Genopath: Go
Thanks! this worked perfectly.
0
@Cbasz95: Go
You could go into the trigger editor and use the "Set Alliance" action for every combination of players in your initialization trigger.
0
Currently when units are attacked offscreen the game pings the location and plays the sound "Our forces are under attack." I would like to disable this for my custom map, but have been unable to figure out how to do it. Does anyone know?