• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Help with my [Enter/Exit] Vehicle System!

Status
Not open for further replies.
Level 11
Joined
Nov 1, 2008
Messages
828
Okay,
So i've done most of the hard parts of the system, but if i have a vehicle with a passanger seat how would this passanger control a vehicle's "machine gun" part?
The driver would have access to rockets and moving.

How would i do this? Sepperate unit? Same unit? Or will this not work with the Warcraft III engine?

Thanks!
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
One option is to create another unit for the machine gun. Give the control of the vehicle for the driver and control of the machine gun to the gunman.

Make sure the machine gun has zero collision of movement type is fly. Periodically (every 0.03 seconds), set the machine gun's coordinates to match the vehicle's coordinates.
 
Status
Not open for further replies.
Top