| Home Page | Recent Changes | Preferences


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.
  // 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


Mapping Topics

Mapping Lessons

UnrealEd Interface


Scripting Topics

Scripting Lessons

Making Mods

Class Tree


Modeling Topics


Log In