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.
[2024-10-31. : 12:30 am]
ClansAreForGays -- When you join a pub lobby because you see 7/8 players, but then realize host is bating you with computers. :flamer: :flamer:
[2024-10-30. : 11:48 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-10-30. : 6:24 pm]
Ultraviolet -- :wob:
[2024-10-29. : 4:33 pm]
Vrael -- :wob:
[2024-10-29. : 1:32 pm]
Zoan -- :wob:
[2024-10-28. : 5:21 pm]
Ultraviolet -- :wob:
[2024-10-27. : 4:34 pm]
jjf28 -- :wob:
[2024-10-27. : 9:01 am]
Zycorax -- :wob:
[2024-10-27. : 3:31 am]
RIVE -- :wob:
[2024-10-26. : 7:12 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: lil-Inferno, Roy, Ultraviolet