SetPackageFlag

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets an AI Package's flag value (determined by flagID).

Syntax

[help]
(flagValue:0/1) SetPackageFlag package:ref flagID:int{0-28} newValue:0/1

Package Flag IDs

0	Offers Services
1	Must Reach Location
2	Must Complete
3	Lock Doors At Start
4	Lock Doors At End
5	Lock Doors At Location
6	Unlock Doors At Start
7	Unlock Doors At End
8	Unlock Doors At Location
9	Continue If PC Near
10	Once Per Day
12	Skip Fallout Behaviour
13	Always Run
17	Always Sneak
18	Allow Swimming
19	Allow Falls
20	Armor Unequipped
21	Weapons Unequipped
22	Defensive Combat
23	Weapons Drawn
24	No Idle Anims
25	Pretend In Combat
26	Continue During Combat
27	No Combat Alert
28	No Warn Attack Behaviour

Example

SetPackageFlag FollowersCassL38Package 18 1 

See Also