Does anyone know how to script a "recharge time" for a force power? I want to restrict a particular power to one use every 2 minutes.
quite easily... just need to make a boolean variable and link a timer to it, while the bool is true the power can be used, when you use the power it sets the bool to false and waits till it is set to true again so it can be used. while during this time you could still cast the power no effects will take place except you will lose force points unless you code about it
Thanks! I'll go read up on booleans!
To link it to the timer, I would use an fDuration similar to those used for shields?