rohitggarg wrote:Never tried it though..
Seems like it would involve changing player class...Would try it out..
No, it doesn't. Like the SLV, RX and other vehicles (including my own), the player's movements are detected by reading some variables that give that info from the playerpawn itself, like bWasForward for example.
Although, you have to consider that the function in your weapons that will read these values will have to be forced to be replicated to the clients. So the function that will read these values out to your own weapons must be on the replication list as:
Code: Select all
reliable if (Role<ROLE_Authority)
functionname;
And that function is NOT simulated, so be carefull.