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.
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
[2024-5-19. : 6:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
Please log in to shout.


Members Online: RIVE, Roy