Code: Select all
ActivateRegion("wamparegion")
testfunction = OnEnterRegion(
function(region, player)
if IsCharacterHuman (character) then
KillObject("yav2_bldg_window_ruin_30")
end
end,
"wamparegion"
)The "wamparegion" is also referenced by a SetupAmbushTrigger code.


