develop
expwnent 2014-07-03 08:58:20 -04:00
parent 10340d5109
commit 07c5a272a3
2 changed files with 3 additions and 1 deletions

@ -1,4 +1,4 @@
--interaction-trigger.lua
--modtools/interaction-trigger.lua
--author expwnent
--triggers scripts when a unit does a unit interaction on another

@ -58,6 +58,8 @@ local function processCommand(job, worker, target, building, command)
table.insert(result,''..job.pos.z)
elseif arg == '\\REACTION_NAME' then
table.insert(result,''..job.reaction_name)
elseif string.sub(arg,1,1) == '\\' then
table.insert(result,string.sub(arg,2))
else
table.insert(result,arg)
end