Jump to content

Searched the construction set wiki for hp and mp functions but nada...


dra6o0n

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...