Page 1 of 1

SetStamina() ?

Posted: Sat Dec 03, 2016 8:41 pm
by Danger Ross
This is probably one of the more important features that should be in the script API, but isn't.
I don't even know how this feature could be overlooked... There needs to be a a method that allows users to manipulate stamina the same way you would manipulate health.

With this I could, for example, punish players for using an ability from my script too much by costing them stamina... or I could make an attack to drain someone's stamina as some sort of unique power. This could also be applied in my script (where players can be revived as zombies), I want to make a zombie type be slower than players, the best way of doing this would be to disable their stamina regeneration.

This was also mentioned in a post on the "planned script API features" thread by Motto!