1,482
edits
(→Notes: Reorganized section and added note that activation blocks aren't removed if a ReferenceAlias script called it and the alias no longer points at the object.) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function BlockActivation(bool abBlocked = True) native | Function BlockActivation(bool abBlocked = True) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Blocks this door from processing activation normally | ; Blocks this door from processing activation normally | ||
MyDoor.BlockActivation() | MyDoor.BlockActivation() | ||
</ | </syntaxhighlight> | ||
<br/> | <br/> | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Tells the door to handle activation normally | ; Tells the door to handle activation normally | ||
MyDoor.BlockActivation(false) | MyDoor.BlockActivation(false) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||