SlavKing Posted October 15, 2022 Share Posted October 15, 2022 Hello! Just as the title says, I am having trouble getting this remoteexec whitelsited.. I have the function whitelisted in my cfgremoteexec.hpp, under the functions class: F(BIS_fnc_switchmove,ANYONE) F(BIS_fnc_removeAction,ANYONE then in my battleeye remoteexec.txt file here it is, : !BIS_fnc_(effectKilled(AirDestruction|Secondaries)|execVM|removeAction|switchmove) We need this to work as we use a tazer mod that plays an animation on a player when shot by tazer, everytime the player is shot the RPT plays this message: Scripting command 'switchmove' is not allowed to be remotely executed Anytime the player calls the remoteExec on a rmeoveaction this plays: Scripting command 'removeaction' is not allowed to be remotely executed Any ideas where I went wrong? Any help is appreciated. SlavKing Quote Link to comment Share on other sites More sharing options...
gustavseitztestarma3 Posted October 18, 2022 Share Posted October 18, 2022 (edited) I have added it like this in my CfgRemoteExec: Spoiler class Commands { mode = 1; jip = 0; F(addHandgunItem,ANYONE) F(addMagazine,ANYONE) F(addPrimaryWeaponItem,ANYONE) F(addWeapon,ANYONE) F(setFuel,ANYONE) F(switchMove,ANYONE) }; }; maybe that works for you? Edited October 18, 2022 by gustavseitztestarma3 Quote Link to comment Share on other sites More sharing options...
KllTA Posted May 20 Share Posted May 20 (edited) In Arma 3, the error message "Scripting command 'switchmove' is not allowed to be remotely executed" The switchmove command is used to change the animation or movement mode of a unit. However, due to security reasons, certain scripting commands are restricted from being executed remotely. In the case of the switchmove command, it is not allowed to be executed remotely, which means you can only use it on the local machine where the script is running or in a server-side script. If you attempt to execute it remotely, you will encounter the mentioned error. To resolve this issue, you should ensure that you are running the switchmove command on the machine where the unit is local, or use an alternative method that is allowed for remote execution if you need to change the animation or movement mode of a unit remotely. Try something like Quote player playMoveNow "coolanimationhere"; Edited May 20 by KllTA Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.