Describe the bug
When using the game_view_info and game_entity_info sound operators, the output_angles output always outputs 0 (most likely a vector of 0 0 0), regardless of the rotation of the player (in the first case) or the entity (in the second).
Therefore the output is essentially unusable.
To Reproduce
- Add this update_stack to sound_operator_stacks.txt
"bug_script"
{
"entity_info"
{
"operator" "game_entity_info"
"input_entity_index" "14"
}
"player_info"
{
"operator" "game_view_info"
}
"print_entity"
{
"operator" "util_print_float"
"input" "@entity_info.output_angles"
}
"print_player"
{
"operator" "util_print_float"
"input" "@player_info.output_angles"
}
}
- Add bug_script as an update_stack for any sound entry
- On any map, find an entity near you and write its index in the script
- Use
playgamesound to play the sound entry and see the printed outputs with developer 1
Issue Map
any map
Expected Behavior
In contrast, output_angles works correctly with the get_source_info operator.
It is supposed to output a vector with the rotation of the player/entity.
Operating System
No response
Describe the bug
When using the
game_view_infoandgame_entity_infosound operators, theoutput_anglesoutput always outputs 0 (most likely a vector of 0 0 0), regardless of the rotation of the player (in the first case) or the entity (in the second).Therefore the output is essentially unusable.
To Reproduce
playgamesoundto play the sound entry and see the printed outputs withdeveloper 1Issue Map
any map
Expected Behavior
In contrast,
output_anglesworks correctly with theget_source_infooperator.It is supposed to output a vector with the rotation of the player/entity.
Operating System
No response