<aside> ⚡ script "core_setcustomstate" (int i)
</aside>
This script can be used to change the calling actor’s state to CustomStateX
where X
is the value passed for the i
parameter.
<aside> 🚨 Although it may be tempting to use this for players as an implementation of custom skin animations, it is not a good idea! This script performs no safety checking to prevent interrupting pain or even death states! Proceed with caution!
</aside>
i
: int - This value is appended to CustomState
to create the final state which is set for the calling actor.