GameEvents.OnPillage

Description

TBD

Usage

GameEvents.OnPillage(playerID [number], unitID [number], bImprovement [boolean], buildingType [number])

Regular event: you can subscribe to it through GameEvents.OnPillage.Add(<function handler>)

Parameters

  • playerID [number]
  • unitID [number]
  • bImprovement [boolean]
  • buildingType [number]