Wait (script event)

From modwiki

Jump to: navigation, search

Description

Suspends execution of the current thread for the given number of seconds.

Usage

In your script type...

void wait( float time )

Parameters

  • [time] - The duration to suspend execution.

Examples

 
sys.wait(5);

Notes

This script event does not return any values.


Personal tools
Main