# 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
- [F] —
void
— Start AI Personalities For All Players — ( ) - [F] —
void
— Start AI Personality For Player — ( ) - [F] —
void
— Set Default Gather Point For Personality — ( ) - [F] —
void
— Run All Attack Waves For All Personalities — ( ) - [F] —
void
— Run All Attack Waves — ( ) - [F] —
void
— Run Attack Wave — ( ) - [F] —
void
— Turn All Attack Waves On/Off — ( ) - [F] —
void
— Turn Attack Wave On/Off — ( ) - [F] —
void
— Stop All Attack Waves For Personality — ( ) - [F] —
bool
— Attack Wave Is On — ( ) - [F] —
unitgroup
— Attack Wave Last Created Units — ( ) - [F] —
wave
— Attack Wave Last Created Wave — ( ) - [F] —
wave
— Last Created Wave For Personality — ( ) - [F] —
string
— Custom Data For Last Attack Wave — ( )
# Examples
— None found —