ISInterface:FrameWait
Jump to navigation
Jump to search
Syntax
- void FrameWait(bool bLock)
Purpose
Allows a thread to yield processing time until the following frame (thusly allowing the game to complete the present frame and begin operating on a new frame), optionally retaining a frame lock during the new frame.
Usage
Parameters
- bool bLock
- When set to true, FrameLock is implicitly called upon the new frame.
Return Value
none
Examples
- Example code
pISInterface->FrameWait(true); /* Safe to assume all game objects still exist until FrameUnlock is called */ ... do stuff here pISInterface->FrameUnlock();