Game Development Community

Using triggers with AiPlayers

by Brian McGavin · in Torque Game Engine · 08/29/2005 (10:39 am) · 3 replies

I have a racing game kind of like Mario kart where players can pickup "goodies" on the track. I use triggers which work great for human players, but the triggers don't work for the AIPlayers. How do I get the triggers to work for AIPlayers or is there a better way to do this?

Thanks
Brian

#1
08/29/2005 (11:26 am)
Have you checked the typemasks for the triggers? They may be set to ignore AIPlayers.
#2
10/01/2005 (7:43 pm)
I am posting a follow up to my question. I was incorrect. AIPlayers are causing the triggers to fire. My script logic was wrong.
#3
10/02/2005 (10:58 pm)
Thank you for the follow up! It'll be useful to people in the future with similar problems.