dra6o0n Posted June 16, 2008 Share Posted June 16, 2008 I need a function to check the player's mp when using this bow im making. if the player have no ammo, and his mp is over 0 or a set amount, A energy arrow will be added, and magicka will be loss according to the arrow. There can only be # arrow used until the counter reaches zero again, in which the player gives mp to make another one. Nvm, I found a function from an example... EDIT:It is "getav [health/magicka] [comparison] [value]" EDIT again: It seems like when the arrow 'reloads' and i gain -10 mp, if i unequip the bow, i gain 2x my current magicka points, causing it to outnumber the max magicka pts. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.