QUOTE (Dart00 @ Oct 11 2011, 08:29 AM)
Is there a way to set a Skills MP cost to a Variable? I cant seem to find a way to do it and googles not really helping...
That sounds pretty straight forward, but here's my guess:
You need to make a Variable firstly, that is called "MP cost". I figure this is for a custom battle system, so you'll need to SET the MP Cost Variable equal to the MP that character has. Then simply subtract the amount required. so for example...
Ryan: 50 MP
Fire: 5 MP
This would be the coding:
Variable Operations: MP Cost: Set Equal Ryan's MP
Variable Operations: MP Cost Subtract 5
Change Character MP > Decrease > Ryan > And then Amount: Equal to the MP Cost Variable.
Optional: Variable Operations: MP Amount: Set Variable MP Cost value.
All in all, this should reduce Ryan's 50 MP, by 5, resulting in 45.
As for the last instruction, ^ if you have an "MP Amount" Variable, simply set that Variable to the same amount as the MP Cost variable to neaten things up. This isn't needed, but it reduces confusion.
There's my two cents in the say. I hope this is of use somehow.
This post has been edited by Essenceblade: Oct 11 2011, 12:59 PM