Delete - InputEnableLayer

Revision as of 17:45, 12 February 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Forcibly deletes this input enable layer immediately. Any script variables or properties...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InputEnableLayer Script

Forcibly deletes this input enable layer immediately. Any script variables or properties looking at it will be invalidated, and of course any disables it may have held are cleared.

SyntaxEdit

Function Delete() native

ParametersEdit

None.

Return ValueEdit

None

ExamplesEdit

; Deletes the layer, and then clears the variable that held it
myLayer.Delete()
myLayer = None

NotesEdit

  • Layers will automatically delete themselves if all variables and properties pointing at them are cleared.
  • Once deleted, you can't call any more functions on the layer as it will be gone (and an error will print to the log).

See AlsoEdit