



States may be used to self-regulate a script by forcing it to complete the code it is already running before triggering a function again: But because Papyrus is entirely event-driven, you can do cool and useful things. In other languages this isn't really a big deal it might be syntactic sugar but it won't buy you much. Papyrus offers a simple and elegant way to switch between two distinct sets of functions in a script through the use of states. In one particular tutorial he dives into states. But it just so happens that a simple tweak to Locational Damage makes it chug along better in big and chaotic battles.Ĭipscis has an informative blog on Skyrim modding (one of the few in existence).
