SetReferenceFlag

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Sets a flag on a reference.

Syntax

[help]
[ref].SetReferenceFlag flag:int value:bool 

Or:

[ref].SetRefFlag flag:int value:bool

Example

rRef.SetRefFlag 256 1

Will mark a ref Inaccessible.

rRef.SetRefFlag 8388608 0

Will mark a ref as NOT Destroyed.

Flags

1		ESM
32		Deleted
34		Taken
64		Hidden From Local Map
128		Turn Off Fire
256		Inaccessible
512		Motion Blur
1024		Persistent
2048		Initially Disabled
16384		Temporary
32768		Visible When Distant
65536		High Priority LOD
524288		Dead
8388608		Destroyed
16777216	Destructible
33554432	No AI Aquire
268435456	Reflected By Auto Water
536870912	Refracted By Auto Water
2147483648	Multibound

See Also