IsWorkshop - EncounterZone

From the Fallout4 CreationKit Wiki
Revision as of 22:27, 21 October 2017 by imported>Qazaaq (added f4se script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

F4SE Member of: EncounterZone Script

Gets whether this encounter zone has workshop enabled or not.

Syntax

bool Function IsWorkshop() Native

Parameters

None

Return Value

True if the encounter zone has workshop enabled.

Examples

If (myEncounterZone.IsWorkshop() == true)
    Debug.Trace("The encounter zone has workshop enabled.")
Else
    Debug.Trace("The encounter zone has workshop disabled.")
EndIf

Notes

None

See Also