×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Lua
Posted by: Quentin Gasparotto
Added: Jun 26, 2016 1:13 PM
Views: 6
Tags: lua
Function that does an action
  1. function doAction(action, param)
  2.     param = param or "";
  3.  
  4.     pendingAction = action;
  5.     IA:SetParameter(param);
  6.     print("doing '"..action.." "..param.."'");
  7.     return pendingAction;
  8. end
  9.