Game Development Community

Triggers and cameras...

by Travis Vroman · in General Discussion · 03/16/2003 (3:44 pm) · 6 replies

How would I be able to create something that allows me to change camera angles for different areas entered? I'm thinking that this is done with triggers, but I have no clue how to make triggers like that? Can somebody please help me out here?

#1
03/17/2003 (6:05 pm)
*Bumpy bump bump.... I really need this answered...
#2
03/18/2003 (5:13 pm)
.. ok you need to be more precise in What you want.

lets see ..
skipping the desired camera angle portion

you simply group the objects you want the trigger to interact with together .

then when the trigger code runs it will call like named function's found on the grouped objects (if the code exhists)

this can be deduced in the trigger.cc source file read the comments.

so in other words group your camera and your trigger into a group
then write onTrigger ... and like functions for your camera.
(script datablock functions)
best to read the trigger.cc to deduce this for yourself.
#3
03/19/2003 (5:13 pm)
OK understand wht you're saying, I'm just not familira with the syntax on how to do it. As far as an example of what I want, take a look at FFX, and how the camera angle changes when you enter a specific zone.

Thanx,
-B
#4
03/20/2003 (8:21 am)
What engine are you using? That would really help us narrow down the answer.

Changing the camera in say Quake is different than changing it in Torque or something like Conitec's Game Studio or Qube or whatnot.
#5
03/20/2003 (5:57 pm)
Oh, I'm sorry, I'm using TGE.

-B
#6
03/22/2003 (7:54 pm)
This resource might help you out.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2304