Warzone 2100 Resurrection

Category:Scripting

From WarzoneWiki

Jump to: navigation, search

Contents

AI Scripts

No information about this yet...

Proposals for the Lua syntax for Events

The Lua Branch

Lua

Sequence Scripts

The sequence scripts are written in Lua, and will support the following commands:

  • text( text_to_display ) : display a subtitle
  • heading( text_to_display) : display a heading
  • image( path_to_image) : display the image
  • pan( x,y,zoom) : instantly move the camera to the specified position
  • panTo( x,y,zoom,time) : in the specified time, pan & zoom to the specified coordinates
  • wait( TEXT+IMAGE+MOVIE+SOUND ) : wait until the specified item has finished
  • sleep( seconds) : suspend script execution for the specified amount of seconds
  • textw : text + wait(TEXT)
  • movie( path_to_movie ) : display an ogg/vorbis/theora movie
  • and some more...

This category currently contains no articles or media.