while

Category: Script
Since engine version: 4.6.5.0 CP

Description

If fCondition is true the following command or block of code will be executed.

Syntax

void while (bool fCondition);

Parameter

fCondition:
Condition

Example

while(FindObject()) RemoveObject(FindObject());
Removes all objects.
jwk, April 2002