How would I make an actor that is made when a structure is made, attaches itself to the base/origin of the structure, and then is removed when the structure is removed?
In warcraft 3 buildings had a little texture underneath them. Some of the buildings in the map I'm making are going to not actually be as wide as the 2x2 pathing footprint I am using, so I was wondering how I'd recreate said texture.
Like, let's say I have a trigger that does this (example trigger, not my actual trigger)
Player presses a button
Pick a random unit in owned by triggering player
kill picked unit
wait 15 second
Pick a random unit in owned by triggering player
kill picked unit
If another played...
As title says, how do I do this?
I believe I have everything right, but the button isn't showing up in-game, even though everything I have is identical to the original Probe build ability (with the exception of my buildings)
[Resolved]A* pathing algorithm for detecting blocks in a tower defense game?
Could someone please make the A* pathing algorithm (or a better one if you know one that will work) with a condition I can use to check if a path from point A to point B is there == true?
Note:
A* uses eight...