Help with using video with triggers
by Todd · in Torque Game Engine · 03/03/2008 (6:31 am) · 2 replies
I hope some one can help or point me in the right direction. I am looking for a way while in the game if some one enters a trigger area it will start a video. I am thinking it's onEnterTrigger but I don't know how to set the datablock up to play a different video depending on which trigger is active. Thanks for any help you can give.
Todd
Todd
#2
Todd
03/04/2008 (5:47 am)
Thanks Steve for the help, I will be working on this today and will post back what I come up with.Todd
Torque Owner Steve D
datablock TriggerData(trigger_name_here)
{
tickPeriodMS = 100;
};
function trigger_name_here::onEnterTrigger(%this,%trigger,%obj)
{
}