while

Category: Script
Since engine version: 1.0 OC

Description

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

Syntax

void while(bool condition);

Parameter

condition:
Condition

Example

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