Page MenuHomeFeedback Tracker

AddAction condition no longer working
Closed, ResolvedPublic

Description

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)"];

Details

Legacy ID
3201237162
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

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

ozdeadmeat edited Additional Information. (Show Details)
ozdeadmeat set Category to Scripting.
ozdeadmeat set Reproducibility to Always.
ozdeadmeat set Severity to None.
ozdeadmeat set Resolution to No Bug.
ozdeadmeat set Legacy ID to 3201237162.May 7 2016, 6:48 PM
Bohemia added a subscriber: Igi_PL.Jun 22 2014, 4:12 AM

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?

MadDogX added a subscriber: MadDogX.May 7 2016, 6:48 PM

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.