| Home Page | Recent Changes | Preferences

Viewport

Object >> Player >> ViewPort

See UnrealEd Viewport for the viewports in the UnrealEd interface.

This class represents a real Player playing on this (where unreal is running that is) computer. Useful if you wish to detect if a playerpawn is controlled locally.

if (Viewport(SomePlayerPawn.Player)!=none)
  //This player is controlled locally.
else if (NetConnection(SomePlayerPawn.Player)!=none)
  // This player is controlled remotely.
else
  // This player is not controlled by anybody yet...

Foxpaw: As far as I can tell this is not a class, but simply a reference to a specific player. I could not find any class file for it, even one defined simply as native.

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In