I need trigger help
by Ben · in Torque Game Engine · 04/25/2006 (5:37 am) · 3 replies
To Start :
1 trigger with a stationary npc inside
What i want to happen :
when i enter the trigger i want the trigger to make an audio block, delete an object, create a trigger, and
then delete the this trigger.
what i have :
1trigger with a stationary npc inside
when the player enters it will do the following
creates audio block and delets an object, (i think i know how to create another trigger
when the player exit the trigger it should delete the trigger
what happens:
when i exit the trigger it crashes the game i think this is because i have an npc in the trigger when it is
trying to delete
what i need help on:
Making the trigger delete without it crashing
1 trigger with a stationary npc inside
What i want to happen :
when i enter the trigger i want the trigger to make an audio block, delete an object, create a trigger, and
then delete the this trigger.
what i have :
1trigger with a stationary npc inside
when the player enters it will do the following
creates audio block and delets an object, (i think i know how to create another trigger
when the player exit the trigger it should delete the trigger
what happens:
when i exit the trigger it crashes the game i think this is because i have an npc in the trigger when it is
trying to delete
what i need help on:
Making the trigger delete without it crashing
About the author
#2
www.garagegames.com/mg/forums/result.thread.php?qt=27700
Tom Spillman sums up the issue here. basically, your trigger function should just schedule another function which will later delete the trigger safely once it's done with all its processing.
04/25/2006 (9:03 am)
I don't think you can delete a trigger using it's own callback because the code has to return back to the original trigger to proceed. someone correct me if I'm wrong.www.garagegames.com/mg/forums/result.thread.php?qt=27700
Tom Spillman sums up the issue here. basically, your trigger function should just schedule another function which will later delete the trigger safely once it's done with all its processing.
#3
I have a question at that point, I am confused ;I am aiming l ıke this: when the car meet wıth road sign,trigger will bring my company webpage on the left side on the wındow. How can I do this? Any help would be pleasure for me....
Thanks for your attentıon!
07/06/2009 (6:24 am)
Hey guys,I have a question at that point, I am confused ;I am aiming l ıke this: when the car meet wıth road sign,trigger will bring my company webpage on the left side on the wındow. How can I do this? Any help would be pleasure for me....
Thanks for your attentıon!
Associate Anthony Rosenbaum