Triggers/Actions/Add New Bully

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions

Add New Bully

GUI

AI - Adds a new bully of type unitType|UnitType at location loc|Point for player player with rebuild count rebuildCount .

Galaxy Code

void AIAddBully ( int player, gamelink unitType, point loc, int rebuildCount )

Description

Flags a pre-placed unit as a bully. The AI will rebuild units flagged as bullies if they are lost.

Parameters

  • int player
    • Name: Player
  • gamelink unitType
    • Name: unitType
    • GameType: Unit
  • point loc
    • Name: Loc
  • int rebuildCount
    • Name: RebuildCount