Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Actions/Global Suicide

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions

Global Suicide


AI - Suicide all player player units

Galaxy Code

void AIGlobalSuicide ( int player )


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.


  • int player
    • Name: Player

Additional Information