Skip to content

ELRabito/Exile-Anti-Floating-bug-script-aka-stair-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

Exile-Anti-Floating

  • This small script will fix issues with Arma 3 when the player moves down certain geometry (Stairs for example) to fast and the player character will start floating, which most of the time results in death, since the game thinks you are falling.

Video Demonstration

Video Demonstration

ExileMod Installation

  • Add the code from the initplayerlocal.sqf file to the end of your initplayerlocal.sqf of your mission-file.

Other Installation

  • If you want to run it outside of Exile, you can use this code in a client side loop (while true etc), that runs at least every second.

      if((animationState player) in ["afalpercmstpsraswrfldnon","afalpercmstpsnonwnondnon","afalpercmstpsraswpstdnon","afalpknlmstpsraswrfldnon","afalpknlmstpsnonwnondnon"]) then
      {
      	if (getPos player select 2 < 0.1 && !(getPosASLW player select 2 < 0)) then {player setvelocity [0,0,0]};
      };
    

About

Exile Anti Floating bug script (aka stair bug)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages