Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# TribesGUI.ActionInventoryBase

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020

    class ActionInventoryBase extends Scripting.Action
    	abstract;

    function TribesInventorySelectionMenu GetInventoryMenu()
    {
    	local PlayerCharacterController controller;
    	local GUIController gc;

    	controller = PlayerCharacterController(parentScript.Level.GetLocalPlayerController());
    	if( controller != None &&
    		controller.Player != None &&
    		controller.Player.GUIController != None)
    	{
    		gc = GUIController(controller.Player.GUIController);
    		if(gc != None && gc.ActivePage != None && gc.ActivePage.IsA('TribesInventorySelectionMenu'))
    			return TribesInventorySelectionMenu(gc.ActivePage);
    	}

    	return None;
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: st 16.4.2014 10:20:46.000 - Creation time: st 23.5.2018 00:10:40.340 - Created with UnCodeX