SetOwnership
Revision as of 14:11, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Sets the ownership of the calling reference to the specified NPC or Faction. If the parameter is omitted, the reference will be set to be owned by the player.
Syntax
RefID.SetOwnership Owner:FormID
Example
RewardGunRef.SetOwnership
Sets the ownership of RewardGunRef to the player (so that they can take it without stealing).