DIFF

class CTObjectFollowerSource

CTActor CTObjectFollower ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 1

void ~CTObjectFollower()

Members 8

protected Widget m_FollowerRoot
protected Widget m_FollowerButton
protected vector m_Position
protected vector m_Orientation
protected float m_MaxFade
Referenced by Fade()
protected float m_MinFade
Referenced by Fade()

Methods 16

void CreateFollowedObject(string type)
void DestroyFollowedObject()
void Update(float timeslice)
References UpdatePos()
void SetPosition(vector position)
void SetRotation(vector dir)
void UpdatePos()

Function updating the position of the tracker widget.

Currently tracks using GetScreenPos() on the position of the player.

void Show()
void Hide()
void Fade(bool fade)
References Widget.SetAlpha(), m_FollowerRoot, m_MaxFade
Show 1 more, m_MinFade
override bool OnClick(Widget w, int x, int y, int button)
override bool OnDoubleClick(Widget w, int x, int y, int button)
override bool OnMouseButtonDown(Widget w, int x, int y, int button)
override bool OnMouseButtonUp(Widget w, int x, int y, int button)