PNop

From Mike's Wiki

Jump to: navigation, search

Contents

Overview

The simplest command we have, it waits for a single game tick to go by before proceeding. While handy for very short delays, if you need to wait for 3 ticks or longer, use the Pause command.

Command Syntax

PNop


Example

A simple example of PNop


         Pause  80                                             ; Wait for 80 game ticks before starting the for/next loop
         PFOR   5                                              ; Execute a loop of 5

             Start  SnakePath, Baddie1,  340, 100, KILLCLIP    ; Start a single baddie
             PNop                                              ; Wait for a single tick.

         PNext                                                 ; Next loop



back
Personal tools