SetStatOnTarget

SetStatOnTarget command

Overrides the current value of the named stat (StatName) on the target. It does not alter the stat's maximum, so the value resets whenever the stat is recalculated, such as after a level up or, for HP, when the creature takes damage.

Argument information
  • <Stat Name>type: text

    A text value.

  • <Stat Value>type: text

    The value to set the stat to.

Command builder

Stat Name
Stat Value

Examples

This console command overrides the current value of the Speed stat on your target, setting it to 5. The stat's maximum is untouched, so the value resets whenever the stat is recalculated, such as after a level up.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.