# Attack Wave Last Created Units
Grammar — Last created units in attack wave wave for player player
Flags —Function
|CustomAI
Attack waves only create units if the Create Units Instantly option is enabled in the AI module.
# Arguments
int
<aidefwave> — Waveint
— Player
Returns — unitgroup
# Related
Category: AI / Personalities
- Start AI Personalities For All Players
- Start AI Personality For Player
- Set Default Gather Point For Personality
- Run All Attack Waves For All Personalities
- Run All Attack Waves
- Run Attack Wave
- Turn All Attack Waves On/Off
- Turn Attack Wave On/Off
- Stop All Attack Waves For Personality
- Attack Wave Is On
- Attack Wave Last Created Units
- Attack Wave Last Created Wave
- Last Created Wave For Personality
- Custom Data For Last Attack Wave
# Examples
— None found —