Data Realms Fan Forums
http://45.55.195.193/

CC platformer, help please.
http://45.55.195.193/viewtopic.php?f=73&t=18808
Page 1 of 1

Author:  lafe [ Sun May 23, 2010 2:27 am ]
Post subject:  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

Author:  Grif [ Sun May 23, 2010 2:35 am ]
Post subject:  Re: CC platformer, help please.

you might want to end the original activity

Author:  Areku [ Sun May 23, 2010 2:36 am ]
Post subject:  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

Author:  lafe [ Sun May 23, 2010 2:37 am ]
Post subject:  Re: CC platformer, help please.

Grif wrote:
you might want to end the original activity

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

Author:  none [ Sun May 23, 2010 5:47 pm ]
Post subject:  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

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