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/Enable-Disable Suicide For Unit Group

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions

Enable/Disable Suicide For Unit Group


AI - controlled suicide for group|Unit Group

Galaxy Code

void AISetGroupSuicide ( unitgroup group, preset controlled )


If suicide is enabled for a unit group, the AI will immediately seek out and repeatedly attack the nearest enemy until the suiciding unit group is destroyed. Setting a bully to suicide it will tag it as missing and cause the AI to rebuilt it, since it should not be returning alive.


Additional Information