# 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
FlagsNative | 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 — Target
  • point — Waypoint
  • bool<preset::ForceUseTransport> — Use Transport
  • int — Index

Returns — void

native void AIWaveTargetAddWaypoint(
	wavetarget wt,
	point waypoint,
	bool useTransport,
	int index,
);

Category: AI Advanced / Waves / Actions

# Examples

— None found —