Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_canInteractWith.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Arguments:
* 0: The player. <OBJECT>
* 1: The interaction target. objNull to ignore. <OBJECT>
* 2: Exceptions. What general conditions are to skip? (default: []) <ARRAY>
* 2: Exceptions. What general conditions are to skip? (works like a permission system, if there is an exception, it will return true)(default: []) <ARRAY>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo this could be interpreted as "if one condition is true, then it will succeed" (= OR) instead of being AND.

*
* Return Value:
* Unit can interact? <BOOL>
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_progressBar.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* 3: On Failure: Code called or STRING raised as event. <CODE, STRING>
* 4: Localized Title <STRING> (default: "")
* 5: Code to check each frame <CODE> (default: {true})
* 6: Exceptions for checking ace_common_fnc_canInteractWith <ARRAY> (default: [])
* 6: Exceptions for checking ace_common_fnc_canInteractWith (works like a permission system, if there is an exception, eg "isNotSwimming" in the exceptions, the progressbar will work while swimming) <ARRAY> (default: [])
* 7: Create progress bar as dialog, this blocks user input <BOOL> (default: true)
*
* Return Value:
Expand Down