Lua Events/OnPlayerSetSafehouse

From PZwiki



Event

OBSOLETE
OnPlayerSetSafehouse

Description

Triggered when survivor group has their safehouse set.

Parameters

  • SurvivorGroup The survivor group for which the safehouse is being set.
  • BuildingDef The building definition of the safehouse that is being set.

Examples

local function OnPlayerSetSafehouse(survivorGroup, buildingDef)
	-- Your code here
end

Events.OnPlayerSetSafehouse.Add(OnPlayerSetSafehouse)

See also