Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4557


Ignore:
Timestamp:
Jan 27, 2007, 2:18:28 PM (17 years ago)
Author:
snellen
Message:

fading activated

Location:
data/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/levels/sp_cutscene_intro.oxw

    r4555 r4557  
    8383      <abs-coor>500,0,0</abs-coor>
    8484      <Track>
    85         <mode>0</mode>
     85        <mode>1</mode>
    8686        <speed>1</speed>
    8787        <addPoint>500,0,0</addPoint>
  • data/trunk/scripts/cutscene/cutscene.lua

    r4555 r4557  
    22trigger:setScript("cutscene.lua")             -- Tell the trigger which script to call
    33trigger:setFunction("tick")                   -- Tell the trigger which scriptfunction to call
    4 trigger:setActiveOnCreation(true)             -- Let the trigger call the script as soon as it is created until
     4trigger:setActiveOnCreation(true)             
    55 
    66-- Get objects from orxonox
     
    2020cameraSwitched = true
    2121
    22 
    2322if time > 4 then
    24 --cameraManager:togglFade()
     23cameraManager:togglFade()
    2524return true
    2625end
Note: See TracChangeset for help on using the changeset viewer.