# Transport Disable AutoPickup
Grammar — Disables auto-pickup transport logic for AI player player’s transports.
Flags —Native
|Action
Disables auto-pickup transport logic for an AI player’s transports.
# Arguments
int
— Player
Returns — void
native void AITransportDisableAutoPickup(int player);
# Related
Category: AI Advanced / Transports / Actions
- Transport Set Return —
void
— AITransportSetReturn - Transport Set Panic —
void
— AITransportSetPanic - Transport Disable AutoPickup —
void
— AITransportDisableAutoPickup
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:9911
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION22, PlayerGroupSingle(gv_pLAYER_01_USER));
AITransportDisableAutoPickup(gv_pLAYER_02_DOMINION);
AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION, RegionEntireMap(), false);
AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionEntireMap(), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:9911
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION22, PlayerGroupSingle(gv_pLAYER_01_USER));
AITransportDisableAutoPickup(gv_pLAYER_02_DOMINION);
AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION, RegionEntireMap(), false);
AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionEntireMap(), false);