Game Development Community

Mission Area Bounds

by Christian · in Torque Game Engine · 12/20/2006 (9:03 pm) · 6 replies

This may sound kind of like a silly question. The mission area (red box in the game). I'm not exactly sure how that works. If you place stuff outside it, will it still be functional for all aspects of the game? Or if I just enlarge it what is the max. that is wise to enlarge it without hurting performance? Thanks.

#1
12/21/2006 (9:40 pm)
I probably didn't explain it well enough. By red box I mean the large red lines that go around the whole mission area, showing you what is in and out of bounds.
#2
12/22/2006 (2:33 am)
Yes, stuff outside the red box is still functional. I think it only really exists as a planning tool, and has a script callback associated with it in case you want something to happen to players if they go outside it.
#3
12/22/2006 (5:15 am)
Thanks!
#4
12/22/2006 (5:15 pm)
Is there any way to limit the size so that players CAN'T wander off forever?

Tony
#5
01/05/2007 (4:43 pm)
Can anyone explain the purpose of the "Mission Area"? If it doesn't define a limited area, why even have it?

Thanks!

Tony
#6
01/08/2007 (7:05 pm)
Hi !
mission are is defined in your *.mis file see "new missionarea" . you can limit the area there.
you have two function callbacks in your game.cs file onLeaveMissionArea(%this) and onEnterMissionArea(%this). put an echo inside and check ,once u leave the area u get your echo message in our console log .
inside this function u can put any desire function for the player to react say player death even in one of the forum i found "force field" applied to the player object.
i hope this should give u little help.
thank u