# Turn All Attack Waves On/Off
Grammar — Turn all attack waves onOff for player player
Flags —Action
|CustomAI
An attack wave which is turned off will still run the “turned off” timing phase, as configured in the AI module.
# Arguments
int
— Playerbool
<preset::OnOffOption> — On/Off
Returns — void
# 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 —