Game Development Community

Firing while driving

by Andy Hawkins · in Torque Game Engine · 12/06/2005 (11:09 pm) · 1 replies

Is there an implementation somewhere of driving a car and shooting the currently held weapon out the window? At the moment when I mount a vehicle I can't fire the gun I'm holding.

#1
12/06/2005 (11:40 pm)
Thats cos you would have a line in your onMount function that disables the weapon image. You have to delete this line and add the weapon info to your vehicle script datablock and set up a trigger for firing in a vehicle.