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.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy, Fehringerd