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.
[03:18 am]
Symmetry -- Make maps for the memes :hurr:
[2026-10-30. : 8:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[2026-10-30. : 8:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[2026-10-30. : 6:55 am]
UndeadStar -- :wob:
[2026-10-30. : 2:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
Please log in to shout.


Members Online: O)FaRTy1billion[MM], Omen, armitage