SC2Mapster Wiki
Advertisement

AI Actions[ | ]

Enable/Disable Suicide For Unit Group[ | ]

GUI[ | ]

AI - controlled suicide for group|Unit Group

Galaxy Code[ | ]

void AISetGroupSuicide ( unitgroup group, preset controlled )

Description[ | ]

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.

Parameters[ | ]

  • unitgroup unitGroup
    • Name: UnitGroup
  • preset enable
    • Preset:Enable/Disable Option
    • Name: Enable/Disable

Additional Information[ | ]

Advertisement