mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update wiki description of interaction framework (#7143)
This commit is contained in:
parent
2e4e59f6e0
commit
3bae64a76f
@ -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>
|
||||||
|
@ -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 `[]`).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user