GameFiberWaitUntil Method (FuncBoolean, Int32)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Yields the executing fiber until the specified condition is met. The condition is not checked while the game is paused.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void WaitUntil(
	Func<bool> condition,
	int timeOut
)

Parameters

condition
Type: SystemFuncBoolean
The condition.
timeOut
Type: SystemInt32
The maximum time to wait. If set to 0, the call will not time out.
Examples

See SleepUntil(FuncBoolean, Int32) for examples.
See Also

Reference