RegisterForUpdate - Form: Difference between revisions
Jump to navigation
Jump to search
→Parameters
imported>Imp of the Perverse (→Notes) |
imported>Cdcooley |
||
| Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
*afInterval: How often, in seconds, the [[OnUpdate - Form|update event]] should be sent | *afInterval: How often, in seconds, the [[OnUpdate - Form|update event]] should be sent | ||
A value smaller than the amount of time it takes your code to complete plus a little overhead time can cause the game to freeze as the scripting system becomes overwhelmed. For any value less than a few seconds [[RegisterForSingleUpdate - Form|RegisterForSingleUpdate]] is much safer. | |||
== Return Value == | == Return Value == | ||