Continue
continue;
Usage
continue is used in a for, do, or while loop to end the current iteration, returning to the start of the loop.
Examples
This script ignores any players that autoaim, and logs who doesn't.
for (int i = 0; i < 8; i++)
{
if (GetPlayerInfo (i, PLAYERINFO_AIMDIST) > 0 )
continue;
Log (n:i+1, s:"\c- does not autoaim");
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.