Difference between revisions of "Category:Latent Functions"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Perdev
m
imported>Eishunsama
 
(5 intermediate revisions by one other user not shown)
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.




'''This list is not exhaustive.''' If you discover missing functions, please add <code><nowiki>[[Category:Latent Functions]]</nowiki></code> to their pages in order to register them here. Use [[StartScriptProfiling - Debug|Debug.StartScriptProfiling]] if you want to check whether a function is latent or not.
Below is the list of all latent functions in Papyrus.


{{Languages|:Category:Latent_Functions}}
[[Category:Papyrus]]
[[Category:Papyrus]]

Latest revision as of 07:55, 13 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.


Language: English  • 日本語

Pages in category "Latent Functions"

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