Closed BrunoMine closed 6 years ago
Maybe it's the first case https://github.com/hkzorman/advanced_npc/blob/175d07476daa5b217f9e32ee8837d315fc104feb/npc.lua#L943
Yes @BrunoMine , actions in this case is the first link. You provide a Lua array which will be executed in order. This Lua array can contain:
I believe the syntax is not correct, or maybe the API uses the same term
actions
to refer to two different things. https://github.com/hkzorman/advanced_npc/blob/175d07476daa5b217f9e32ee8837d315fc104feb/npc.lua#L945 1º case -actions
is a table with some action aguments. In this case, the table must contain some values such asmin_count
andmax_count
for example. 2º case -actions
is one of the arguments of the first case.After all, what is the correct argument for actions? actions or actions?