View Single Post
Old 03-08-10, 01:54 PM   #13
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Manning Guns

To assign a crewman to a gun, you first must move him the appropriate waypoint. The easiest way is to use Teleport().

Quote:
Wp:Teleport("WP_A01_GUN"); This is the AA mount
Then you need to man the gun using ManTheGun() using the appropriate slot, animation and role

Quote:
Wp:ManTheGun(SLOT_A01, "20mm_C38_shield_twin_UP_DW", ROLE_GUNNER)
Some guns have one slot, some have more. The deck gun only has two slots which limits what we can do to add more crew. There are workarounds, but I have found one yet that works well enough.
Heretic is offline   Reply With Quote