Merge pull request #1005 from 82ndab-Bravo17/MassCheck

Mass check abs value
This commit is contained in:
He-Man 2019-05-08 15:21:30 +02:00 committed by GitHub
commit a66743ac94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1076,7 +1076,7 @@ class FSM
"if (_playerCheck) then {" \n
" _PlayerPosCheck = !((_playerObject getVariable [""FinalDest"",[]]) isequalto []);" \n
" if (_PlayerPosCheck) then {" \n
" _playerCheckMass = ((_loadabs toFixed 2) isEqualTo ((loadabs _playerObject) toFixed 2));" \n
" _playerCheckMass = ((abs(_loadabs - (loadabs _playerObject))) < 1);" \n
" if (_playerCheckMass) then {" \n
" _state = true;" \n
" };" \n