Difference between revisions of "OpenTeammateContainer"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Kalizar
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
     |Type = int
     |Type = int
     |Optional = y
     |Optional = y
    |Value = Default = 0
   }}
   }}
|example = BuddyRef.OpenTeammateContainer 1
|example = BuddyRef.OpenTeammateContainer 1
Line 12: Line 13:
Opens BuddyRef's "teammate container", regardless of whether or not BuddyRef is the player's teammate
Opens BuddyRef's "teammate container", regardless of whether or not BuddyRef is the player's teammate
}}
}}
=='''Notes'''==
*The "IgnoreTeammate" parameter is set to 0 by default


=='''See Also'''==
=='''See Also'''==
Line 20: Line 19:
*[[GetPlayerTeammateCount]]
*[[GetPlayerTeammateCount]]
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]] [[Category:Actor_Functions]]

Latest revision as of 18:12, 4 September 2010

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

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

[help]
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