Skip to content

Instantly share code, notes, and snippets.

@devynspencer
Created December 19, 2016 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devynspencer/8159f5420e4eb20ebba98e2290219b89 to your computer and use it in GitHub Desktop.
Save devynspencer/8159f5420e4eb20ebba98e2290219b89 to your computer and use it in GitHub Desktop.
params ["_required1", "_required2", ["default1", "value"], ["default2", 5], ["default3", west]]
private ["_var1", "_var2", "_var3", "_var4"]
// header
_Zen_stack_Trace = ["Zen_ArrayAppend", _this] call Zen_StackAdd;
if !([_this, [["ARRAY"], ["VOID"], ["VOID"], ["VOID"], ["VOID"], ["VOID"], ["VOID"]], [], 2] call Zen_CheckArguments) exitWith {
call Zen_StackRemove;
};
// execute something here
// footer
call Zen_StackRemove;
if (true) exitWith {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment