# Global Suicide
Grammar — Suicide all player player units
Flags —Native
|Action
Flags all units owned by a player to suicide. Units flagged to suicide will seek out and attack the nearest enemy unit they can find until they are slain, or there is nothing left to attack.
# Arguments
int
— Player
Returns — void
native void AIGlobalSuicide(int player);
# Related
Category: AI / MiscCampaign / Actions
- [F] —
void
— Pause AI Time — ( AITimePause ) - [F] —
void
— Start Campaign AI For All Players — ( CampaignInitAI ) - [F] —
void
— Start Campaign AI For Player — ( AICampaignStart ) - [F] —
void
— Global Suicide — ( AIGlobalSuicide ) - [F] —
void
— Enable/Disable Script Control For Unit — ( AISetUnitScriptControlled ) - [F] —
void
— Enable/Disable Script Control For Unit Group — ( AISetGroupScriptControlled ) - [F] —
void
— Enable/Disable Wave Use For Unit — ( AISetUnitNotUsableInWaves ) - [F] —
void
— Enable/Disable Wave Use For Unit Group — ( AISetGroupNotUsableInWaves ) - [F] —
void
— Enable/Disable Suicide For Unit — ( AISetUnitSuicide ) - [F] —
void
— Enable/Disable Suicide For Unit Group — ( AISetGroupSuicide ) - [F] —
void
— Remove Unit From All Waves — ( AIRemoveUnitFromAnyWaves ) - [F] —
void
— Remove Unit Group From All Waves — ( AIRemoveGroupFromAnyWaves ) - [F] —
void
— Remove Unit From All Waves And Set Home — ( AIRemoveUnitFromAnyWavesAndSetHome ) - [F] —
void
— Remove Unit Group From All Waves And Set Home — ( AIRemoveGroupFromAnyWavesAndSetHome ) - [F] —
void
— Init Campaign Towns — ( AIInitCampaignTowns ) - [F] —
void
— Init Campaign Harvesting — ( AIInitCampaignHarvest ) - [F] —
void
— Issue AI Order — ( libNtve_gf_AICast )
# Examples
— None found —