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-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: DarkenedFantasies, Heinermann