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.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: 4lydiae9822yg7