This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~ ~ NOTOC~ ~ Scripting: Scene Script This script is a run time script which can be used to run a full game such as space invaders or manage a game level. The Scene script is different from the other script types as this type requires no selected object. You can only have one scene script per scene. If you require more script pages for the scene script, you can always use the sky.include("myFile.lua") command at the top. <grid> <col sm="6"> Add a Scene Script Hold the mouse still and [RMB]. From this menu select the “Lua – Scene Script” option. This option will still be available even if you have a selected object or not. <well size="sm"> Once this option is clicked the script editor will be opened with this scenes script ready for editing. </well> </col> <col sm="6"> Save Scene Script When ready click the Save icon to save this script. The saving of the script saves this scripts contents to the scene and not to a hard drive location. The complete scene needs to be saved in order to ensure you don’t lose any scene script data. To get around this you can ,as mentioned earlier use the sky.include("myFile.lua") command and this file is stored on your hard drive. <alert type="warning">NOTE: This script is not saved externally! So please ensure you save your scene regularly so as not to lose any script data.</alert> </col></grid> <-manual_scripting:manual_scripting_externalscript|Previous: External Script^manual_scripting:manual_scripting_index|Scripting Index^manual_scripting:manual_scripting_communication_events|Next: Events→ Detach Close Document TOC Developer Sidebar SidebarDev HTML5 Bootstrap Commands Nav Menu Example TOC Ideas Site Index Layout: Tutorial Intro Layout: Tutorial Page Layout: FAQ Page Layout: Index Home Welcome What is Skyline Terminology FAQ FAQ Index Working on Scenes Scripting Assets General Info Installation and Setup Game Objects Manual Scripting Index Script Overview Micro Scripts External Scripts Scene Scripts Events Tags and ID's Communicating with Scripts Communicating with Modules Communicating with actions Dynamic Properties Learning Tutorials Index Basic Character Basic Shooting Guides Index Getting Started Video Tutorials Index