Script:Files:script/vehicles/bumblebee.script

From Mod Wiki
object vehicle_bumblebee : vehicle_heli_earth {
    void            OnWeaponSelected( entity p, float index );
};

void vehicle_bumblebee::OnWeaponSelected( entity p, float index ) {
    if ( index == 0 ) {
        FireDecoy( p );
    } else if ( index == 1 ) {
        selectVehicleWeapon( p, "gpmg_front" );
    }
}