Update wiki description of interaction framework (#7143)

This commit is contained in:
Schwaggot 2019-09-04 18:47:46 +02:00 committed by jonpas
parent 2e4e59f6e0
commit 3bae64a76f
2 changed files with 2 additions and 1 deletions

View File

@ -133,6 +133,7 @@ Riccardo Petricca <petriccarcc@gmail.com>
Robert Boklahánics <bokirobi@gmail.com> Robert Boklahánics <bokirobi@gmail.com>
ruPaladin <happyworm24@rambler.ru> ruPaladin <happyworm24@rambler.ru>
Rutger "RedBery" Meijering <c.redbery@gmail.com> Rutger "RedBery" Meijering <c.redbery@gmail.com>
Schwaggot <tom.ryan@posteo.de>
simon84 <badguy360th@gmail.com> simon84 <badguy360th@gmail.com>
Skengman2 Skengman2
Sniperwolf572 <tenga6@gmail.com> Sniperwolf572 <tenga6@gmail.com>

View File

@ -21,7 +21,7 @@ Something the user would do to themselves or to their vehicle (eg. Put in ear pl
- **Zeus** (`ACE_ZeusActions`) - **Zeus** (`ACE_ZeusActions`)
Available to Zeus Available to Zeus
`ACE_Actions` and `ACE_SelfActions` can be added via config or by calling functions, it is generally preferred to add actions via config. Zeus actions can only be added via config. `ACE_Actions` and `ACE_SelfActions` can be added via config or by calling functions. Be aware that the functions modify the UI, and therefore need to be executed on client-side to take effect.
The simplest action is just a condition and statement. The code to these are passed `[_target, _player, _actionParams]`. `_player` is `ace_player`; `_target` is the object being interacted with; and the 3rd argument is the optional action parameters (default `[]`). The simplest action is just a condition and statement. The code to these are passed `[_target, _player, _actionParams]`. `_player` is `ace_player`; `_target` is the object being interacted with; and the 3rd argument is the optional action parameters (default `[]`).