| Home Page | Recent Changes

NetConnection

Object >> Player >> NetConnection

This class represents a Player playing remotely (i.e. connected to the server Unreal is running on). Also used for Demo Recording. Useful if you wish to detect if a playerpawn is controlled remotely.

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

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In