View unanswered posts | View active topics It is currently Mon Dec 30, 2024 11:26 pm



Reply to topic  [ 4 posts ] 
 How to select a scene for an activity? 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post How to select a scene for an activity?
Hi, I'm making a mission for my triclon empire mod, so I made a scene and a script, and when I choose my activity in the menu I can choose any scene of the game, I would like to be able to choose only the scene I made for the mission.


Mon Jan 31, 2011 8:58 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: How to select a scene for an activity?
Add a box with a unique name (like the landing zones) but with a corners at zero zero and zero zero. Then use a local to get it like this in lua:
Code:
local uniquify = SceneMan:GetArea("My Unique Box")
CC will automatically read this and only give you the scenes with that specific area in.


Mon Jan 31, 2011 9:03 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: How to select a scene for an activity?
Roast Veg wrote:
Add a box with a unique name (like the landing zones) but with a corners at zero zero and zero zero. Then use a local to get it like this in lua:
Code:
local uniquify = SceneMan:GetArea("My Unique Box")
CC will automatically read this and only give you the scenes with that specific area in.


SceneMan.Scene:GetArea("Triclon Outpost");

It worked, thanks.


Mon Jan 31, 2011 9:27 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: How to select a scene for an activity?
Don't mention it.


Mon Jan 31, 2011 9:28 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.051s | 13 Queries | GZIP : Off ]