Difference between revisions of "Category:Latent Functions"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Perdev
imported>Perdev
(See http://forums.bethsoft.com/topic/1373784-papyrus-threading-alternative-techniques/page__view__findpost__p__21629276)
Line 1: Line 1:
This lists latent functions in Papyrus. If you call one of these functions, you unlock your script so that other waiting calls can now execute (and therefore possibly cause your variable values to change). For more information on threading, see [[Threading Notes (Papyrus)]].
The idea for latent functions is that these functions take not-insignificant real-world time to execute. (There are some that are latent for other reasons, but this is the main one) For example, Wait is latent because it will not return until X real-world seconds have passed and SetCurrentStageID is latent because it waits for the quest stage fragment to finish running before returning. Note that if latent functions do not actually take any time (like a wait with a 0 time, setting a stage with no fragment, or an error that is detected early like calling it on None) they won't unlock your self long enough to actually let any other thread in.


Below is the list of all latent functions in Papyrus.
[[Category:Papyrus]]
[[Category:Papyrus]]

Revision as of 20:09, 8 October 2012

The idea for latent functions is that these functions take not-insignificant real-world time to execute. (There are some that are latent for other reasons, but this is the main one) For example, Wait is latent because it will not return until X real-world seconds have passed and SetCurrentStageID is latent because it waits for the quest stage fragment to finish running before returning. Note that if latent functions do not actually take any time (like a wait with a 0 time, setting a stage with no fragment, or an error that is detected early like calling it on None) they won't unlock your self long enough to actually let any other thread in.


Below is the list of all latent functions in Papyrus.

Pages in category "Latent Functions"

The following 58 pages are in this category, out of 58 total.