[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
- You should call Form.UnregisterForUpdate() before calling this function a second time prior to the timer elapsing or before calling Form.RegisterForUpdate(...), or strange behavior may result. Testing suggests that calling
RegisterForUpdateafterRegisterForSingleUpdatewill replace the single update's timer interval with the one provided in the call toRegisterForUpdateand will not start a periodic timer. It also suggests that subsequent calls toRegisterForSingleUpdatewithout an interveningUnregisterForUpdatedo not behave as expected, if the timer hasn't elapsed.
Parameters
floatafInterval
CK Wiki Description
In how much time (in seconds, ignoring menu-mode time) the OnUpdate should be triggered
Examples
; Register for a single update in 30.0 seconds - does not count menu-mode time.
RegisterForSingleUpdate(30.0)Auto-Generated Example
float myFloat__afInterval
myForm__toCallFunctionOn.RegisterForSingleUpdate(myFloat__afInterval)