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!
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
SetStamina() ?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Danger Ross
- Superfighter
- Posts: 154
- Joined: Thu Mar 31, 2016 12:56 am
- Title: Dangerous
- SFD Alias: Danger Ross
- Started SFD: 14 june 2012 (launch day)
- Location: California
- Gender:
- Age: 23