Alright, I've been making a small map recently, and have been trying to set some objectives for it. so far, this is the course of events:
the map begins. Camera (cinema mode, zoomed slightly) fades in, and 3 Probes, one after another, teleport in onto a point, and move to another point as they warp in. The camera now zooms back to its regular distance. Along with the Probes, you have a Nexus with mineral fields at your disposal. In the expected top - left of the screen, a primary objective is created that says "Construct additional probes (0/5)". This objective is functional (thanks to FenixKissKerrigan), but I've got a slightly more complicated (I think?) next step.
You see, after the probes objective finishes, I was trying to make is so that the player is then given an objective to construct a pylon. There is a point on the map which is where I want the pylon placed, so when the objective starts, one of those indicator boxes like in the campaigns appears around that point, and is removed when they place a pylon. The pylon objective is followed by one for a gateway when the pylon's construction is finished. Then one for a forge, then lastly a photon cannon.
Here is where the problem comes: the pylon objective appears, but is not completed by the construction of the pylon. The indicator box (I couldn't find that actor, so I chose "Helper Arrow") does not appear (it gives me a trigger error). And the other objectives are impossible due to this. I don't have screenshots, unfortunately, since I really don't know which triggers to show you. Instead, here's the map, and I would be beyond grateful if someone could aid me with this.
Edit: If you're going to playtest it, make sure you either disable the trigger "Run trigger cheat", or don't type "runnit" into the chat box. This was for before I got the first objective to function.
I didnt look at the map but make sure the objective has a global variable attached to it.
Make sure that there is a REGION were its acceptable to place the pylon
after that u can simply use the event Unit enters/leaves region and then set the objective state to complete.
Thank you for helping, but I'm unfortunately still shrouded in confusion. Your solution does work, but not really in the direction I was going for. Again, thanks nonetheless.
Rollback Post to RevisionRollBack
I do terrain stuff.
...
And in a Starcraft haiku,
...
That's all I can do!
I dont have hots, so i cant test
Patch Notes:
-added ping variable
-added new region at pylon location
-added Trigger - Turn Build a Pylon On (this will reduce a forseeable future minor lag issue related to event of build a pylon)
-rebuild completly Pylon arrow trigger to make a box and a outline of a pylon as seen in sc2 campains
-Kill pylon arrow remade with no event to kill new actor and piont
-New condition added to kill pylon arrow
-build a pylon has new event
-Conditions removed from build a pylon
-Type of triggering unit condition added
-self trigger turn off (helps prevent lag)
Like i said this is untested but let me know how it works
Alright, I've been making a small map recently, and have been trying to set some objectives for it. so far, this is the course of events:
the map begins. Camera (cinema mode, zoomed slightly) fades in, and 3 Probes, one after another, teleport in onto a point, and move to another point as they warp in. The camera now zooms back to its regular distance. Along with the Probes, you have a Nexus with mineral fields at your disposal. In the expected top - left of the screen, a primary objective is created that says "Construct additional probes (0/5)". This objective is functional (thanks to FenixKissKerrigan), but I've got a slightly more complicated (I think?) next step.
You see, after the probes objective finishes, I was trying to make is so that the player is then given an objective to construct a pylon. There is a point on the map which is where I want the pylon placed, so when the objective starts, one of those indicator boxes like in the campaigns appears around that point, and is removed when they place a pylon. The pylon objective is followed by one for a gateway when the pylon's construction is finished. Then one for a forge, then lastly a photon cannon.
Here is where the problem comes: the pylon objective appears, but is not completed by the construction of the pylon. The indicator box (I couldn't find that actor, so I chose "Helper Arrow") does not appear (it gives me a trigger error). And the other objectives are impossible due to this. I don't have screenshots, unfortunately, since I really don't know which triggers to show you. Instead, here's the map, and I would be beyond grateful if someone could aid me with this.
I didnt look at the map but make sure the objective has a global variable attached to it.
Make sure that there is a REGION were its acceptable to place the pylon
after that u can simply use the event Unit enters/leaves region and then set the objective state to complete.
Thank you for helping, but I'm unfortunately still shrouded in confusion. Your solution does work, but not really in the direction I was going for. Again, thanks nonetheless.
I dont have hots, so i cant test
Patch Notes:
-added ping variable
-added new region at pylon location
-added Trigger - Turn Build a Pylon On (this will reduce a forseeable future minor lag issue related to event of build a pylon)
-rebuild completly Pylon arrow trigger to make a box and a outline of a pylon as seen in sc2 campains
-Kill pylon arrow remade with no event to kill new actor and piont
-New condition added to kill pylon arrow
-build a pylon has new event
-Conditions removed from build a pylon
-Type of triggering unit condition added
-self trigger turn off (helps prevent lag)
Like i said this is untested but let me know how it works
Fixed faulty event
Hmm, the box does not appear. Sorry! I really do appreciate you helping me with this.