View Full Version : Take MP from Link
Joe123
09-26-2007, 02:26 PM
How do I say, take 8 MP from Link at a given point in a script?
I've messed with the Link->MP function for a while, but to no avail.
C-Dawg
09-26-2007, 02:30 PM
Not sure what you're doing wrong. That's the right variable.
To reduce the player's MP by x, you just do:
Link->MP = Link->MP - x;
or something similar.
Joe123
09-26-2007, 02:33 PM
My syntax and such is terrible, I'm not sure of how to write basic functions and things like that. Thanks.
EDIT: works fine now, thanks
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.