Background for Skyrim SE
Member of the Alias script
voidfunctionRegisterForSingleUpdate(floatafInterval)Native

Description

Documentation Comment

Register for a single OnUpdate event, in afInterval seconds. All scripts attached to this alias will get the update events
Of course, this means you don't need to call UnregisterForUpdate()
If you find yourself doing this:
Event OnUpdate()
UnregisterForUpdate()
{Do some stuff}
endEvent
Then you should use RegisterForSingleUpdate instead


Caveats


Parameters

floatafInterval


Examples

Auto-Generated Example

float myFloat__afInterval

myAlias__toCallFunctionOn.RegisterForSingleUpdate(myFloat__afInterval)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.