I want to add a trigger when you step on it to make an npc disappear but none of the scripts work
destroyzone doesnt work when the npc walks over it
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- Player Enters Win Zone
function destroyzone_init(e)
end
function destroyzone_main(e)
if g_Entity[e]['plrinzone']==1 then
for x = e+1, e+5 do
Destroy(x)
end
ActivateIfUsed(e)
end
end
and neither the disappear.lua in GG
Anyone has a script?