could some one help me i made a button on the ui and when i click it i would like a trigger to happen where i can place the structure on the map (like C&C) no need for workers
Use a dummy unit that has the build ability and hook it to the UI. Similar to how the LotV campaign hooks all the Spear of Adun abilities to the panel at the top of the screen.
Use a dummy unit that has the build ability and hook it to the UI. Similar to how the LotV campaign hooks all the Spear of Adun abilities to the panel at the top of the screen.
so do i have to make a all new ability that creates the building as i can seem to find a way to trigger the default build command through triggers (unless you know a way how to) i can get other abilities to trigger tho but that one isnt on the list (maybe if you arent too busy you could make me a example)
could some one help me i made a button on the ui and when i click it i would like a trigger to happen where i can place the structure on the map (like C&C) no need for workers
and i know this can be done
Use a dummy unit that has the build ability and hook it to the UI. Similar to how the LotV campaign hooks all the Spear of Adun abilities to the panel at the top of the screen.
Modify the pylon warp in to do what you want. It places a building and is on the Spear of Adun control panel during the LotV campaign.
You will probably need to make a dedicated ability for it, like all those top panel abilities.