SilentRuin
November 22nd, 2023, 19:59
I do a call in an extension to place an NPC - it works - all its good nothing wrong at all. But I noticed in my logs that for certain NPCs (not all of them) I get one or two warning messages that look like this...
[11/22/2023 1:41:31 PM] s'Can't find CT node: ' | { s'sType' = s'npc', s'sCreatureNode' = s'npc.id-00005@5EAEcorrections', s'sName' = s'Moonbeam' }
Nothing is going wrong - the NPC is being placed - a search of the code does not show "find CT node" text anywhere (at least that I'm looking in).
Its the exact same code doing all the NPC placement but one has no warnings - another always has one warning - and another always has two warnings...
They all originate in this call...
local tCustom = { nodeRecord = nodeNPC };
CombatRecordManager.onRecordTypeEvent("npc", tCustom);
Again the call works - I can see no issues anywhere - but I'm wondering why some NPCs generate this warning and others do not?
[11/22/2023 1:41:31 PM] s'Can't find CT node: ' | { s'sType' = s'npc', s'sCreatureNode' = s'npc.id-00005@5EAEcorrections', s'sName' = s'Moonbeam' }
Nothing is going wrong - the NPC is being placed - a search of the code does not show "find CT node" text anywhere (at least that I'm looking in).
Its the exact same code doing all the NPC placement but one has no warnings - another always has one warning - and another always has two warnings...
They all originate in this call...
local tCustom = { nodeRecord = nodeNPC };
CombatRecordManager.onRecordTypeEvent("npc", tCustom);
Again the call works - I can see no issues anywhere - but I'm wondering why some NPCs generate this warning and others do not?