I have a unit (a SCV) that builds 2 buildings. Building 1 is built on another unit, called "base". Building 2 is built on Building 1, kind of as an upgrade.
Now the button to build Building 1 is only enabled when specific conditions apply. On clicking the "build Building 1" button, i want the "base" to be created at a specific point. I got that already and it works, using the simple event
Now my problem is that i want the "base" unit to be deleted, if the user decides to cancel the building placement. When the user clicks "build Building 1", he gets the cursor and can decide where to build his building, since the "base" is created, but if he cancels the scv build action without doing anything, the "base" should be deleted. That would work using the
Event, problem is if the building is cancelled through a right-click, this does not fire.