|
|
 |
« on: July 14, 2012, 01:42:37 PM » |
|
I've been working on a PSA, but have into a wall of sorts. I need to see what the max strength of the shield is (LA Float 3 would equal this before the shield is damaged/used), so that I can know what numbers I should be using for my If/Then statements. However, I don't know how I could find this out.
Is there a piece of software I could use with Dolphin, a Dolphin function, or a Code that I could use to find this number? If anyone just knows what it is (if it's even the same between characters), that would be fine too.
---------------
Edit: Okay, I figured it out myself.
Here:
Float Variable Set: LA-Float[103] = LA-Float[3] Set Loop Infinite Float Variable Subtract: LA-Float[103] -= 1 If Compare: LA-Float[103] < 0 Loop Break? End If Add/Subtract Damage: 1 Execute Loop
Just enter this code into a Subaction and change LA-Float[3] to whatever float variable you're trying to check. It should appear as your damage (make sure your Damage % is equal to 0). If you want to check a Basic variable, just change everything to Basic type.
Oh, and Shield Charge begins at a max of 50.
|