this addAction ["<t color='#8993C9'>Set Appearance</t>", "OzDM\AppearanceGUI\StartBodyDia.sqf",[],0,false,true,"","(_target distance _this < 3)"];
this addaction ["<t color='#FF4F4F'>Return Equipment</t>","OzDM\Scripts\StripPlayer.sqf",[],0,false,true,"","(_target distance _this < 5) && (vehicle _this != _target)"];
Description
Details
- Legacy ID
- 3201237162
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Scripting
this addAction ["<t color='#8993C9'>Set Appearance</t>", "OzDM\AppearanceGUI\StartBodyDia.sqf",[],0,false,true,"","(_target distance _this < 3)"];
this addaction ["<t color='#FF4F4F'>Return Equipment</t>","OzDM\Scripts\StripPlayer.sqf",[],0,false,true,"","(_target distance _this < 5)"];
Prior to 1.22 the code above was working with AddAction. It is not working any longer. Can you please validate that the extended Add action still allows for conditions for actions.
Event Timeline
It would help if you could explain what you attach the action to and under what circumstance the action is suppose to show. Throwing a bunch of code with no repro or explanation is not going to help anyone.
addAction is working for me, but if you are using supply crate this can be related to this http://feedback.arma3.com/view.php?id=19324 and this http://feedback.arma3.com/view.php?id=19339
Hello,
can you please confirm that the command is broken for you? The issue with supply crate is known and working on fix is in progress.
Hi Iceman,
yes, this is to do with Supply Crates. Do you know when this bug will be rectified?
Mass closing tickets marked as resolved more than 1 month ago.
If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.