SetOwnership

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets the ownership of the calling reference to the specified NPC or Faction BaseForm. If the parameter is omitted, the reference will be set to be owned by the Player's BaseForm (refID 7).

Syntax

[help]
reference.SetOwnership Owner:BaseForm

Example

RewardGunRef.SetOwnership

Sets the ownership of RewardGunRef to the player (so that they can take it without stealing).

See Also