Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: Tracking Variable Values [Solved]  (Read 1161 times)
0 Members and 1 Guest are viewing this topic.
Higure Hokousha
Advanced Kitten
***
Offline Offline

Posts: 37



View Profile Awards
« 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.
« Last Edit: July 25, 2012, 10:30:30 PM by Higure Hokousha » Logged

My Brawl Tools Library

http://forums.kc-mm.com/index.php?topic=34011.0

Tools:

PSA Assistant

Higure Hokousha
Advanced Kitten
***
Offline Offline

Posts: 37



View Profile Awards
« Reply #1 on: July 25, 2012, 10:31:40 PM »


Just bumping this so others might see the solution, if they're interested.
Logged

My Brawl Tools Library

http://forums.kc-mm.com/index.php?topic=34011.0

Tools:

PSA Assistant

Pages: [1]
Print
Jump to: