ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_NotifyOnPlayerDemolition

Calls a function when any entity in an EGroup gets destroyed by the player clicking the \"Detonate me\" button

On this page
EGroup_NotifyOnPlayerDemolition(id, function)

Description

Calls a function when any entity in an EGroup gets destroyed by the player clicking the \"Detonate me\" button

Parameters

  • idEGroupIDrequired
  • functionLuaFunctionrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar