| Home Page | Recent Changes

Vehicles/Replication

Structs

The replication of a struct doesn't seem to always work! When this happends, replicate a variable after the struct. That seems to help (don't forget to change the AVar in game, or it won't get replicated).

var int AVar; //Just for replication, else the VehicleState won't be replicated.

Replication
{
    unreliable if(Role == ROLE_Authority)
        VehicleState, AVar;
}

Related

Discussion.


Category To Do – This needs merged into the grand topic of Replication. See Replication/Discussing

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