When creating scripts with the handleCommandfunction, explosions, the shotgun, standard gun and weapons using the Shoot() function register with the function, whilst the hunting rifle does not.
Steps to reproduce the behavior
Create a content mod using the mod menu
Edit the level and add a script containing just the following:
function handleCommand(cmd)
DebugPrint(cmd)
end
Playtest the level and start shooting with the 3 guns, or a modded weapon that uses the shoot() function (i.e. the minigun)
The shotgun, gun and modded weapons display messages in the console, the hunting rifle does not.
Expected behavior
The handleCommand function should produce a response to shots from the hunting rifle.
Environment
Teardown Version 1.6.0
OS: Windows 11
GPU: Nvidia GeForce RTX 3060 Ti
CPU: 12th Gen Intel(R) Core(TM) i7-12700F 2.10 GHz
Describe the bug
When creating scripts with the
handleCommand
function, explosions, the shotgun, standard gun and weapons using theShoot()
function register with the function, whilst the hunting rifle does not.Steps to reproduce the behavior
shoot()
function (i.e. the minigun)Expected behavior
The handleCommand function should produce a response to shots from the hunting rifle.
Environment
Additional context
No response