How do I change status value on combatant from code?

For example I want to decrease SPEED Status Value by multiplier interpolated from 100% to 0% over some time.
  • You can access a combatant's status values via:
    combatant.Status[id]
    id is the ID/index of the status value.

    There are different functions available to get or set the values, e.g. to decrease, you'd use the AddValue function with a negative value. However, it depends on what type of status value you want to change, e.g. if it's a Normal type status value, you also need to use AddBaseValue.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thanks I will check that out.
Sign In or Register to comment.