WaitFor (script event)

From modwiki

Jump to: navigation, search

Game class

This event operates on an instance of the game class type idThread, accessible via sys identifier.

Description

Waits for entity to complete it's move.

Usage

void waitFor( entity mover )

Parameters

[mover] - entity to wait for.

Parameter only supports entities of following spawn classes:

Image:D3square_25.png Doom 3: idCameraAnim, idMover, idMover_Binary.

Image:Q4square_25.png Quake 4: idCameraAnim, idMover, idMover_Binary, rvSplineMover

Examples

$mymover.move( UP, 100);
 
sys.waitFor( $mymover );
 
$mymover.move( DOWN, 100);

Notes

Image:Etqwsquare_25.png Note: Enemy Territory: Quake Wars only:
(This event does not apply)

See threads for more information.


Personal tools
Main
id Tech 5