[This is preliminary documentation and is subject to change.]
Calls the specified method once every tick on a new GameFiber, while the specified condition is true.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public static GameFiber ExecuteNewWhile( ThreadStart start, string name, Func<bool> condition )
Parameters
- start
- Type: System.ThreadingThreadStart
The method to call every tick. - name
- Type: SystemString
The name of the GameFiber. - condition
- Type: SystemFuncBoolean
[Missing <param name="condition"/> documentation for "M:Rage.GameFiber.ExecuteNewWhile(System.Threading.ThreadStart,System.String,System.Func{System.Boolean})"]
Return Value
Type: GameFiberAn instance of GameFiber representing the created fiber.
See Also