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.
[05:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
Please log in to shout.


Members Online: Symmetry