Skip to content

Method for getting an IEDs dial code #8323

Answered by Whigital
The-Pink-Panther asked this question in Q&A
Discussion options

You must be logged in to vote

Just scanned through the code, and Cellphone connected IEDs are added into an array called ace_explosives_CellphoneIEDs, which is also broadcasted to all clients.

This array contains the ied, code and trigger delay:

private _count = GVAR(CellphoneIEDs) pushBack [_explosive, _code, getNumber (configFile >> "CfgMagazines" >> _magazineClass >> "ACE_Triggers" >> "Cellphone" >> "FuseTime")];
_count = _count + 1;
publicVariable QGVAR(CellphoneIEDs);

So if you have a reference to the IED object, it should just be a simple matter of extracting it from the array:

params [["_ied", objNull]…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@The-Pink-Panther
Comment options

Answer selected by The-Pink-Panther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants