From dd3077b3032683afc46989e62814c2f57e7c1cb6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 23 Feb 2012 21:13:43 +1000 Subject: Implement llDetectedKey(). --- LuaSL/src/LSL.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'LuaSL') diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua index be1c7fd..5f103fc 100644 --- a/LuaSL/src/LSL.lua +++ b/LuaSL/src/LSL.lua @@ -443,6 +443,12 @@ newFunc("float", "llSleep", "float seconds") -- Faked return type, it actually function --[[integer]] LSL.llGetInventoryType(--[[string]] name) return LSL.INVENTORY_SCRIPT end; +-- LSL collision / detect / sensor functions +function --[[key]] LSL.llDetectedKey(--[[integer]] index) + return detectedKeys[index + 1] +end + + -- LSL list functions. --function --[[list]] LSL.llCSV2List(--[[string]] text) return {} end; -- cgit v1.1