# Wave Target Add Waypoint
Grammar — Insert a new waypoint waypoint into waveTarget target|Wave Target at index index in the list, and set the transport mode to useTransport|Normal Mode/Force Use Transport Mode
Flags —Native
|Action
Adds a waypoint to the specified wave target. In Force Transport Mode, the wave units will attempt to load up in transports before approaching this waypoint and will not regroup. If there are not enough transports available for all of the units, the stranded units will be dropped from the wave.
# Arguments
wavetarget
— Targetpoint
— Waypointbool
<preset::ForceUseTransport> — Use Transportint
— Index
Returns — void
native void AIWaveTargetAddWaypoint(
wavetarget wt,
point waypoint,
bool useTransport,
int index,
);
# Related
Category: AI Advanced / Waves / Actions
- Wave Add Info —
void
— AIWaveInfoAdd - Wave Info Attack —
int
— AIWaveInfoAttack - Wave Info Suicide —
int
— AIWaveInfoSuicide - Wave Add Unit —
void
— AIWaveAddUnit - Wave Add Unit Priority —
void
— AIWaveAddUnitPriority - Wave Remove Unit —
void
— AIWaveRemoveUnit - Wave Set Type —
void
— AIWaveSetType - Wave Delete —
void
— AIWaveDelete - Wave Target Add Waypoint —
void
— AIWaveTargetAddWaypoint - Wave Target Clear Waypoints —
void
— AIWaveTargetClearWaypoints - Wave Set —
void
— AIWaveSet - Wave Merge —
void
— AIWaveMerge
# Examples
— None found —