Gah - a solution with more questions. – EntropicLqd

UE3:UTDrawMapPanel (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel >> UTDrawMapPanel

Contents

Package: 
UTGame

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

[edit] Properties

[edit] Property group 'UTDrawMapPanel'

[edit] MapSizePerc

Type: float

How much of the panel's height will be used for the map

Default value: 0.9

[edit] Internal variables

[edit] bAllowTeleport

Type: bool

Modifiers: transient


[edit] bShowExtents

Type: bool

Modifiers: transient


[edit] UTHudSceneOwner

Type: UTUIScene_Hud


[edit] Default values

Property Value
DefaultStates[3] Class'Engine.UIState_Active'

[edit] Subobjects

[edit] WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UTDrawPanel.WidgetEventComponent

No new values.

[edit] Delegates

[edit] OnActorSelected

delegate OnActorSelected (Actor Selected, UTPlayerController SelectedBy)

Called when a node is actually double-clicked on.

Parameters:

  • Selected - The actor that was selected
  • SelectedBy - The UTPlayerController that selected the node

[edit] Functions

[edit] Events

[edit] DrawPanel

event DrawPanel ()

Overrides: UTDrawPanel.DrawPanel

Called from native code. This is the only point where Canvas is valid. we use this moment to setup the color fading

[edit] GetSupportedUIActionKeyNames

event GetSupportedUIActionKeyNames (out array<nameout_KeyNames)

Overrides: UIScreenObject.GetSupportedUIActionKeyNames

Setup Input subscriptions

[edit] PostInitialize

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Gather Data and setup the input delegates

[edit] Other instance functions

[edit] ChangeCurrentActor

function ChangeCurrentActor (Object.Vector V, int PlayerIndex)


[edit] FindBestActor

function FindBestActor ()


[edit] GetActorUnderMouse

function Actor GetActorUnderMouse (UTPlayerController PlayerOwner)

Returns:

the node currently under the mouse cursor.

[edit] GetMapInfo

function UTMapInfo GetMapInfo (optional out WorldInfo WI)


[edit] InputKey

function bool InputKey (const out UIRoot.InputEventParameters EventParms)


[edit] PickActorUnderCursor

function Actor PickActorUnderCursor (int PlayerIndex)

Look under the mouse cursor and pick the node that is there

[edit] SelectActor

function SelectActor (UTPlayerController UTPC)

The player has attempted to select a node, Look it up and pass it along to the delegate if it exists

[edit] SetCurrentActor

function SetCurrentActor (Actor NewCurrentActor)