Game Development Community

Trigger help

by Nick Voloro · in Torque Game Engine · 04/28/2008 (6:06 pm) · 6 replies

Hello, I am very new to the Torque Game Engine and I've ran across a problem with triggers. The console kept telling me that addTrigger() is not a function so I looked in the triggers.cs and it wasn't there. Can anybody post the code for it here. Or maybe tell me why its saying this. Thanks.

#1
04/28/2008 (6:08 pm)
Where is it being called from? What's the complete error message?
#2
04/28/2008 (6:27 pm)
It says that there is a parse error on line 4. That is the same line that says function addTrigger() {.
#3
04/28/2008 (6:30 pm)
It says that there is a parse error on line 4. That is the same line that says function addTrigger() {.
#4
04/28/2008 (6:37 pm)
It says that there is a parse error on line 4. That is the same line that says function addTrigger() {.
#5
04/28/2008 (6:43 pm)
O sorry about that.
#6
04/28/2008 (6:51 pm)
O sorry about that.