Cleanup and placeable_object replacement
Added cleaned up and improved functionality for placeable object. Example is in unit tests. Cleanup whitespace and removed accessibility as not used/not documented and doesnt appear to be useful with our current work flow
This commit is contained in:
1 parent
b5dd8c018c
commit
3fa933fab1
24 files changed
+698
-903
No files matched your search
@@ -127,6 +127,17 @@ Target.RemoveZone = function(name)
|
||||
end
|
||||
end
|
||||
|
||||
-- Target.DisableTargeting = function(bool)
|
||||
-- sleepless_interact:disableInteract(bool)
|
||||
-- end
|
||||
|
||||
-- Target.Refresh = function()
|
||||
-- sleepless_interact:disableInteract(false)
|
||||
-- Wait(10)
|
||||
-- sleepless_interact:disableInteract(true)
|
||||
-- end
|
||||
|
||||
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if resource == GetCurrentResourceName() then
|
||||
for _, target in pairs(targetZones) do
|
||||
|
||||
Reference in new issue
Block a user