Staredit Network > Forums > Modding Assistance > Topic: Need help with making a plugin that makes an
Need help with making a plugin that makes an
Jul 22 2011, 11:01 pm
By: Templarfreak  

Jul 22 2011, 11:01 pm Templarfreak Post #1



bool nextFrame(){
UNIT* unit;
for (int i=0;i <1700;i++){
unit = &unitTable[i];
if (unit->unitId == 53 && unit->mainOrderId==Burrowed)
unit->healthPoints+=18;
}
return true;
}


bool nextframe(){
UNIT* unit;
if (UpgradeId == 45 && UpgradeLevel == 1)
for (int i=0;i <1700;i++){
unit = &unitTable[i];
if (unit->unitId == 53 && unit->mainOrderId==Burrowed)
unit->healthPoints+=33;
}
return true;
}

This is what I have so far, the first one makes the Hunter Killer regenerate HP faster while burrowed, and the second one is suppose to make it to when you get a certain upgrade then the hunter killer regenerates HP even faster while burrowed. Can anyone help? I'm VERY new to this...

Post has been edited 4 time(s), last time on Jul 23 2011, 6:07 pm by Templarfreak.



None.

Jul 23 2011, 6:13 am xAngelSpiritx Post #2

eternal lurker

Er....what, exactly, are you having problems with? You've stated that you need help but not stated what you need help on. Forgive my bluntness, but "anyone know how to make plugins" is a bit generic.



None.

Jul 23 2011, 6:03 pm Templarfreak Post #3



Eh, I guess your right. Basically, I got the first one working but I have no idea how to make an upgrade. So it's the second one I need help with, I guess I'm gonna change the name too.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Roy