Staredit Network > Forums > Modding Assistance > Topic: Order drone to repair upon right-click
Order drone to repair upon right-click
Aug 17 2021, 5:12 pm
By: Netbek  

Aug 17 2021, 5:12 pm Netbek Post #1



I gave a unit based on Zerg Drone the SCV's repair ability:
Firegraft settings 1
Firegraft settings 2

It can repair now – but only, when I click the repair icon, then click the target building. SCVs automatically go repair when right-clicking a building. I want that for Drones as well.
I briefly looked in "right_click_CMDACT.cpp" in GPTP, but so far couldn't figure out a solution.




Aug 17 2021, 9:15 pm IlyaSnopchenko Post #2

The Curious

Might want to check the unit settings under the AI Actions tab. Not sure exactly how it is called as I'm not at the computer now, but there was a related setting.

EDIT. Found it, it's called just that - Right Click Action.


Post has been edited 1 time(s), last time on Aug 18 2021, 7:11 am by IlyaSnopchenko.



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:18 am]
IskatuMesk -- me when sick af
[05:45 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: unless you're a euro weirdo
seems plausible: [01:55 am] dumbducky -- real dad hours who up
[02:45 am]
Ultraviolet -- unless you're a euro weirdo
[02:45 am]
Ultraviolet -- "[08:55 pm] dumbducky -- real dad hours who up" better question, who's already down at 8:55pm?
[12:55 am]
dumbducky -- real dad hours who up
[07:17 pm]
NudeRaider -- why not both?
[07:09 pm]
Zoan -- sc1 or sc2
[02:06 pm]
lil-Inferno -- hi im new to this site how do i make maps
[2026-6-15. : 9:06 am]
Zycorax -- :wob:
[2026-6-14. : 11:31 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: DarkenedFantasies, jun3hong