PlayerController - how stopfiring / stopfire is handled?
Hi!
I am writing a player observer mod that will export info from the game (through TCP/IP) about what the player is doing. I am now stuck with exporting information about player firing. I was able to get info when the player fires (function exec Fire), but so far I was unable to figure out where in the code is handled when the player stops firing - e.g. when the player releases the firing button.
I found function StopFiring() in Controller class, but it seems this function never gets called for human players (PlayerController class).
Any ideas?
thx,
sk
Hi!
I am writing a player observer mod that will export info from the game (through TCP/IP) about what the player is doing. I am now stuck with exporting information about player firing. I was able to get info when the player fires (function exec Fire), but so far I was unable to figure out where in the code is handled when the player stops firing - e.g. when the player releases the firing button.
I found function StopFiring() in Controller class, but it seems this function never gets called for human players (PlayerController class).
Any ideas?
thx,
sk
Last edited: