From 137f02e863640bc851da81d09631c6bae8d9b946 Mon Sep 17 00:00:00 2001 From: zorman2000 Date: Fri, 13 Jan 2017 07:22:00 -0500 Subject: [PATCH] Actions: Add set interval action, that allows to increase the action timer interval to effectively produce wait times. --- npc.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/npc.lua b/npc.lua index 85f28e1..f99aa9f 100755 --- a/npc.lua +++ b/npc.lua @@ -368,6 +368,7 @@ local function npc_spawn(self, pos) -- npc.add_action(ent, npc.actions.lay, {self = ent}) -- npc.add_action(ent, npc.actions.lay, {self = ent}) npc.actions.use_sittable(ent, nodes[1], npc.actions.const.sittable.GET_UP) + npc.add_action(ent, npc.actions.set_interval, {self=ent, interval=10, freeze=true}) npc.add_action(ent, npc.actions.freeze, {freeze = false}) end