Staredit Network

Staredit Network -> UMS Assistance -> Keeping track of vHP of multiple units
Report, edit, etc...Posted by wizard898 on 2006-08-04 at 00:30:21
Ok, laugh. I'm making a pokemon map. My problem with it is, each PKMN you control have their own vHP. Mineral is represented as your HP, and the gas changes to enemy HP during battle. Ok, so, after your unit takes damage, and you switch, and decide to switch back later, I need the HP to be the same as it was before. I know you are all thinking "DC", but each units have a high amount of HP, ranging from 30 to around 350. That would mean I need a trigger for every possible HP the unit can have! I need a shortcut, basically. biggrin.gif Oh, and another problem, keeping track of the money you earn. How will I make the game remember it when both min and gas is used as vHP? I really don't want to make a DC for every possible amount of money you can have... mellow.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-08-04 at 00:41:14
QUOTE(wizard898 @ Aug 3 2006, 10:29 PM)
I know you are all thinking "DC", but each units have a high amount of HP, ranging from 30 to around 350. That would mean I need a trigger for every possible HP the unit can have! I need a shortcut, basically. biggrin.gif
[right][snapback]538942[/snapback][/right]


store the value in DC but use binary cutoffs instead of having every amount

QUOTE(wizard898 @ Aug 3 2006, 10:29 PM)
Oh, and another problem, keeping track of the money you earn. How will I make the game remember it when both min and gas is used as vHP? I really don't want to make a DC for every possible amount of money you can have... mellow.gif
[right][snapback]538942[/snapback][/right]


exact same solution. all you need to do is count it off.
Report, edit, etc...Posted by wizard898 on 2006-08-04 at 00:48:09
I considered that before... I don't remember why I decided against it... lol...
Anyway, I have another problem. What if you have two of the same units, but they have different amounts of HP? How would I keep track of each of them?

ADDITION:
QUOTE(wizard898 @ Aug 3 2006, 10:44 PM)
I considered that before... I don't remember why I decided against it... lol...
Anyway, I have another problem. What if you have two of the same units, but they have different amounts of HP? How would I keep track of each of them?
[right][snapback]538955[/snapback][/right]

Mm...maybe I should set a limit to how many of the same units you can have...
Report, edit, etc...Posted by Zeratul_101 on 2006-08-04 at 00:51:30
are the units created and removed or are they stored in storgae areas? the former would be incredibily simple, the latter wouldn't be much harder.
Report, edit, etc...Posted by Heegu on 2006-08-04 at 08:49:20
Death counters
Report, edit, etc...Posted by kholdstare on 2006-08-04 at 10:08:03
QUOTE(Heegu @ Aug 4 2006, 07:48 AM)
Death counters
[right][snapback]539073[/snapback][/right]


lol. He said not to use DCs. You could set kill scrre and show it on the leader board.
Next Page (1)