Data Realms Fan Forums
http://45.55.195.193/

Changing scenes from within the scenes?
http://45.55.195.193/viewtopic.php?f=8&t=25477
Page 1 of 1

Author:  kiberkiller [ Sat Sep 10, 2011 5:03 pm ]
Post subject:  Changing scenes from within the scenes?

Is the a Lua function that would allow me to chance the scene?
I was working on a map but apparently my level of detalization (large amount of MOIDs) makes CC go all primadonna on me, lagging and bugging out.

So I'd like to know if it's possible for me to split a map into 3 different scenes and then switch from one to another as the player progresses through the mission.

Author:  Gotcha! [ Sat Sep 10, 2011 5:07 pm ]
Post subject:  Re: Changing scenes from within the scenes?

Someone did this before. The scene should be in the scene section.
I wish I knew what it was called.

You had to guide an actor with a grappling hook gun through levels with 'floating' rocks.

Author:  kiberkiller [ Sat Sep 10, 2011 10:04 pm ]
Post subject:  Re: Changing scenes from within the scenes?

it could be SceneMan:LoadScene function. I could probably just find out the arguments by trial and error.

Author:  weegee [ Sat Sep 10, 2011 10:31 pm ]
Post subject:  Re: Changing scenes from within the scenes?

You can do that with SceneMan:LoadScene(<scene preset> , true)

Author:  kiberkiller [ Sat Sep 10, 2011 10:41 pm ]
Post subject:  Re: Changing scenes from within the scenes?

weegee wrote:
You can do that with SceneMan:LoadScene(<scene preset> , true)


Merci.

Author:  Pantera1993 [ Tue Feb 21, 2012 3:46 pm ]
Post subject:  Re: Changing scenes from within the scenes?

Would you set that code to function in a certain area of the map? Like once an actor walks into the area, it automatically loads the scene?

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/