| Home Page | Recent Changes | Preferences

# 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

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