Triggers/Actions/Enable-Disable Suicide For Unit

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions[edit | edit source]

Enable/Disable Suicide For Unit[edit | edit source]

GUI[edit | edit source]

AI - controlled suicide for unit

Galaxy Code[edit | edit source]

void AISetUnitSuicide ( unit unit, preset controlled )

Description[edit | edit source]

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

Parameters[edit | edit source]

Additional Information[edit | edit source]