Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SetAllRandomPedsFlee.md #779

Merged
merged 6 commits into from
Nov 2, 2023
Merged
Changes from all commits
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
5 changes: 3 additions & 2 deletions PLAYER/SetAllRandomPedsFlee.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ ns: PLAYER
void SET_ALL_RANDOM_PEDS_FLEE(Player player, BOOL toggle);
```

Sets whether all random peds will run away from the player if they are agitated (threatened) (bool=true), or if they will stand their ground (bool=false).

## Parameters
Copy link
Contributor

Choose a reason for hiding this comment

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

Mind giving the parameters a description to wrap this up? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mind giving the parameters a description to wrap this up? Thanks!

Done!

Copy link
Contributor

@4mmonium 4mmonium Jun 22, 2022

Choose a reason for hiding this comment

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

Great, if you can, do please take a look at @gottfriedleibniz's comment, he makes a great point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok=)

* **player**:
* **toggle**:
* **player**: The Player ID for whom you want to set this behavior.
* **toggle**: true/false.

Loading