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.