Created
July 29, 2016 14:30
-
-
Save jameslkingsley/c94b20d09b09f7dfea139d30b3de421e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Example usage in objects init box | |
| // null = [this, "Take Docs", "Abu is done...<br/><img image='map.paa'>"] execVM "intel.sqf"; | |
| params [ | |
| ["_intel", objNull], | |
| ["_actionText", "Take Intel"], | |
| ["_intelContent", ""] | |
| ]; | |
| if (isNull _intel) exitWith {}; | |
| _intel addAction [_actionText, { | |
| params ["_target", "_caller", "_id", "_args"]; | |
| _args params ["_content"]; | |
| _caller createDiarySubject ["ARC_Intel", "Intel"]; | |
| _caller createDiaryRecord ["ARC_Intel", _content]; | |
| deleteVehicle _target; | |
| }, [_intelContent]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment