I write my Pawn in UE2R but i cant replicate my variable from client to server.
But Throttle dont update on server.
Full code here http://pastebin.com/5q4cwy4A
Throttle set value by PlayerController.
On sever log i see:
On client:
On client Throttle changing i see it on my HUD. What i doing wrong?
Code:
replication
{
reliable if(Role < ROLE_Authority)
Throttle;
reliable if(Role == ROLE_Authority)
JGPosition, JGRotation, JGVelocity;
}
But Throttle dont update on server.
Full code here http://pastebin.com/5q4cwy4A
Throttle set value by PlayerController.
On sever log i see:
Code:
bNetTemporary - False
bStatic - False
bNoDelete - False
Role - 2
bAlwaysRelevant - True
bHidden - False
bBlockPlayers - True
Throttle: 0.00 Role - 3
........
Throttle: 0.00 Role - 3
Code:
ScriptLog: bNetTemporary - False
ScriptLog: bStatic - False
ScriptLog: bNoDelete - False
ScriptLog: Role - 2
ScriptLog: bAlwaysRelevant - True
ScriptLog: bHidden - False
ScriptLog: bBlockPlayers - True
ScriptLog: Throttle: 0.00 Role - 4
ScriptLog: Throttle: 0.00 Role - 2
...........................
ScriptLog: Throttle: 0.00 Role - 4
ScriptLog: Throttle: 0.00 Role - 2