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.
[01:37 pm]
Vrael -- jesus christ that was 2005?
[09:19 am]
Linekat -- cool
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[2024-4-19. : 10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
Please log in to shout.


Members Online: Vrael, C(a)HeK