Braclo Posted September 1, 2010 Share Posted September 1, 2010 Greeting! Need a magician's help with the following ^^. I want to make my weapon auto recharge slowly after its below a certain amount of charge. Lets say a charge of 1000. As soon as its below that, it should recharge by 1 point every time the script is called in GameMode. I got it to detect it with GetCurrentCharge [OBSE] but I cant seem to get it to recharge at all. SetCurrentCharge works, but only if you drop the weapon first >.> which is useless. I have also tried SetEquippedCurrentCharge but im doing something wrong cause it aint doing anything when its called. Anybody got any suggestions? Link to comment Share on other sites More sharing options...
Maskar Posted September 1, 2010 Share Posted September 1, 2010 ModEquippedCurrentCharge will work fine for this. Example:player.ModEquippedCurrentCharge 1 16 set mycharge to player.GetEquippedCurrentCharge 16 messageex "%.0f" mycharge Link to comment Share on other sites More sharing options...
Braclo Posted September 1, 2010 Author Share Posted September 1, 2010 ModEquippedCurrentCharge will work fine for this. Example:player.ModEquippedCurrentCharge 1 16 set mycharge to player.GetEquippedCurrentCharge 16 messageex "%.0f" mycharge Thank you! I thought I tried that before but obviously I made a mistake somewhere, thankyou for the example. :D Link to comment Share on other sites More sharing options...
Recommended Posts