Staredit Network > Forums > Modding Assistance > Topic: Canceling upgrading at a specific unit
Canceling upgrading at a specific unit
Jan 27 2009, 6:02 pm
By: Biophysicist  

Jan 30 2009, 4:02 am A_of-s_t Post #21

aka idmontie

Using a plugin written in C++, you derefrence an action to point it to your loop (which is written in C++, no ASM needed here). You then run the action using triggers.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jan 30 2009, 4:07 am Biophysicist Post #22



So make it so some action has its normal function replaced with my code? How would I do that? (I think I almost understand.)

EDIT: ASM looks a lot easier than C++ for this, could I write my code in ASM or would it have to be in C++?



None.

Jan 31 2009, 12:17 am A_of-s_t Post #23

aka idmontie

It has to be written in C++, but you can use inline ASM within C++. I can upload a tutorial on how to derefrence an action.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Jan 31 2009, 12:22 am Biophysicist Post #24



Quote
I can upload a tutorial on how to derefrence an action.
Please do.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: anoeth47, pilotshower