|
|
#1 |
|
King of the Shrooms
Join Date: Jul 2007
Location: Saving the World, one pond at a time.
Posts: 1,201
|
I have a pygmy accountant with AI Bouapha and I gave him 128 max life but the health bar doesn't work right.
It seems like he gets hurt down to the Pygmy accountant's max life then the health bar begins to go down, very very quickly. This is a problem because it gives a false sense of invincibility... Until you suddenly die. Anyone know what might be wrong? |
|
|
|
|
|
#3 |
|
Banned
|
All I can think of is to make sure the Effect setting its max Life is working properly (is it targeting the correct monster, does it really set max life and not current life?). I just tested this and it works fine for me.
|
|
|
|
|
|
#4 |
|
Dumb Person
Join Date: Aug 2009
Location: in a galaxy far far away
Posts: 107
|
yes tell us the entire special, so we can find the problem
__________________
You can put stuff in me because im a can! Also play Big Bumps! or BAFAFZ which won the Global Game Jame 2010 |
|
|
|
|
|
#5 |
|
... is proud to be a furry.
|
You have to set max and current life to 128, If you only set max, the bar will show the players max health but only contain the pygmy's life, where if you only set current the bar will remain full until the players life gets below that of the standard pygmy's life. Both are bad, you have to set them together
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#6 | |
|
King of the Shrooms
Join Date: Jul 2007
Location: Saving the World, one pond at a time.
Posts: 1,201
|
Quote:
Not if you only want them to have the Pygmy Accountants normal health... Unless if that actually wrecks it, I don't see how it would but... Anyway, if I don't figure it out I'll post the special... |
|
|
|
|
|
|
#7 |
|
... is proud to be a furry.
|
Ah, then you would set both to 30? or whatever it is... It doesn't matter, it should work with any whole number
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#8 |
|
King of the Shrooms
Join Date: Jul 2007
Location: Saving the World, one pond at a time.
Posts: 1,201
|
I think my problem is some stray special that does something to throw it off. Or maybe this just doesn't work:
Anyway, here's the special, maybe it has something wrong that I have overlooked: If: 0 Pygmy accountant Summon PA at X,Y Change PA AI to Bouapha AI Set MAX life of PA at anywhere to 128 Change PA at anywhere to good |
|
|
|
|
|
#9 |
|
Ancient Doormat
|
Keep in mind that triggers are done from top to bottom, so if what Ninja says is correct and you have to set Max life first before setting Current life, your Special's trigger list should be:
Summon PA at X,Y Change PA at anywhere to good Change PA AI to Bouapha AI Set Max life of PA at Anywhere to 128 Set Current life of PA at Anywhere to 128 Setting Max life must come before setting Current life. This will update the Life Bar first to reflect a maximum of 128 hitpoints. Then, setting Current life heals you to 128 hitpoints. You won't see any visible changes on the bar because your Pygmy remained at 100% health throughout.
__________________
BunnyCorp Industries Research & Development Division Item: Powered Submersible ArmorDevelopment: Initial Design Last Invention: AK-9047 Light Cannon Last edited by Androgeos Exeunt; 08-22-2009 at 01:56 AM. Reason: Tests done. Confirm success. |
|
|
|
|
|
#10 | ||
|
Banned
|
Quote:
Quote:
EDIT: Tested the exact special .Blue Dwarf. posted, works perfectly. Last edited by SpiderPumpkin; 08-22-2009 at 05:15 AM. |
||
|
|
|
|
|
#11 |
|
King of the Shrooms
Join Date: Jul 2007
Location: Saving the World, one pond at a time.
Posts: 1,201
|
Well, I could have guessed that it worked perfectly. The special at the start of the level does the same thing and it works fine, but later when the special pops up again it doesn't quite work right...
(It's in there twice because the PA does die, but then comes back) So, now I search for the stray special I guess. Thanks for the help confirming that my special works fine. |
|
|
|
|
|
#12 |
|
... is proud to be a furry.
|
Hmm, I still think you need to set current for it to be full life though
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#13 | |
|
King of the Shrooms
Join Date: Jul 2007
Location: Saving the World, one pond at a time.
Posts: 1,201
|
Quote:
I don't care if he has one life or 128 life, just as long as the health bar displays it properly. |
|
|
|
|
|
|
#14 |
|
... is proud to be a furry.
|
Ohhhhhh, OK. I get it, You want the life to display the max of 128 but only the PA's current life (30?) Ok. But what happens if you were to get healed by like a pizza though?
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#15 | |
|
Banned
|
Quote:
Mind explaining a bit more about that (how do you make him die, etc.)? The error might also be somewhere in there if the special works perfectly at the beginning but not when the Pygmy Accountant comes back. Anything involving player controlled monsters is always a little bit risky. Last edited by SpiderPumpkin; 08-22-2009 at 10:29 AM. Reason: DIE SMILIES DIE |
|
|
|
|
|
|
#16 |
|
... is proud to be a furry.
|
Thats the problem, if he wanted it to stay at the PA original health, it would be healed past it.
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#17 | ||
|
Banned
|
Quote:
Quote:
|
||
|
|
|
|
|
#18 |
|
... is proud to be a furry.
|
True, but it would help if he stated his intentions
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
|
|
#19 |
|
Legs sold separately.
Moderator
Join Date: Aug 2004
Location: In a robot, destroying Tokyo.
Posts: 4,775
|
I think it's reasonably clear that he simply wanted the player to look like a pygmy accountant.
|
|
|
|
|
|
#20 |
|
... is proud to be a furry.
|
Yes, but if he wanted the player to be able to be healed past the PA's original health or have a max of 25 is important.
__________________
I am not here anymore alas. Anyone is welcome to IM me or email me attheninjaoffrozenmilk@hotmail.com, my Skype is Yukigo_Kurosaki |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
