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.
[04:11 pm]
Symmetry -- Not Apos! :wob:
[01:51 pm]
NudeRaider -- who won?
[09:53 am]
Moose -- Apos
Apos shouted: Did my :wob: below get eaten?
yes I was playing with the parser lmao
[07:53 am]
Zycorax -- :hurr: :wob:
[01:29 am]
Apos -- Did my :wob: below get eaten?
[2026-8-14. : 9:52 pm]
Apos --
[2026-8-14. : 1:13 pm]
Oh_Man -- NimoStar
NimoStar shouted: yes, all animations for protoss and zerg should be there, unless I missed any
daymn, impressive
[2026-8-14. : 12:03 pm]
NudeRaider -- define "completely fucked" - could also be a good thing :teach:
[2026-8-14. : 4:23 am]
NimoStar -- yes, all animations for protoss and zerg should be there, unless I missed any
[2026-8-14. : 12:43 am]
Moose -- Dem0n
Dem0n shouted: Moose, you ever go to sleep knowing that you're completely fucked for the next day? I do it every night.
tbh
Please log in to shout.


Members Online: NudeRaider, Solstice245