OpenTeammateContainer
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
OpenTeammateContainer brings up the "teammate" version of the container menu, which allows the player to freely swap inventory with the actor this is called on. If the optional "IgnoreTeammate" parameter is set to 1, the function will work on all actors. Otherwise, it will only work on actors that are the player's teammate.
Syntax
Actor.OpenTeammateContainer IgnoreTeammate:int{Default = 0}
Example
BuddyRef.OpenTeammateContainer 1
Opens BuddyRef's "teammate container", regardless of whether or not BuddyRef is the player's teammate
See Also
- To show a Container reference's container menu, Activate can be used, assuming the container is unlocked.
- GetPlayerTeammateCount
- GetPlayerTeammate
- SetPlayerTeammate