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-10-31. : 3: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: Butch, l)ark_ssj9kevin, City