# Start AI Personalities For All Players
Grammar — Start AI personalities for all computer players
Flags —Action
|CustomAI
Starts AI for all computer players, including personalities defined in the AI module. A personality must have a Source Player set in the AI module to be started by this function. Computer players that are not associated with a personality will use the normal campaign AI. This action replaces Start Campaign AI For All Players (don’t use both of them).
Returns — void
CampaignInitAI();
# 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 —