View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:33 pm



Reply to topic  [ 5 posts ] 
 CC platformer, help please. 
Author Message
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post CC platformer, help please.
Hi all.
ive been making a platformer-esqe mini campaign following the flight of ''M3 7''
an experimental coalition commando with a brain, so that he can operate autonomously behind enemy lines and kill the coalition advisory's. because he is only a prototype, M3 7 is mistreated and subject to test after test.
until he escapes the coalitions top secret base in an attempt to find the ronin, who would welcome the experimental tech.
the problem is the transition dosent work.
it just crashes when you enter the zone.
--Go To Next Room Zone
for actor in MovableMan.Actors do
if actor.Team ~= self.CPUTeam and SceneMan.Scene:WithinArea("Goal Zone", actor.Pos) then
ActivityMan:StartActivity("GAScripted", "2CCPLATR")
end
end


Sun May 23, 2010 2:27 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: CC platformer, help please.
you might want to end the original activity


Sun May 23, 2010 2:35 am
Profile
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: CC platformer, help please.
Erm... I am not too familiar with ActivityMan, but it seems that you're trying to start an activity while the current one is still running, what would cause the engine to crash. I think TLB made a script to allow in-mission scene swapping, you should check that out.


EDIT: No, not another ninja'd. :x


Sun May 23, 2010 2:36 am
Profile WWW
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post Re: CC platformer, help please.
Grif wrote:
you might want to end the original activity

ahh. and how would one get around to that, :)


Sun May 23, 2010 2:37 am
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post Re: CC platformer, help please.
for actor in MovableMan.Actors do
if actor.Team ~= self.CPUTeam and SceneMan.Scene:WithinArea("Goal Zone", actor.Pos) then
ActivityMan:EndActivity("GAScripted", "Name") <-- ??
ActivityMan:StartActivity("GAScripted", "2CCPLATR")
end
end


Sun May 23, 2010 5:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.044s | 13 Queries | GZIP : Off ]