I read djinni wiki in today morining:
void main()
{
SetStoryNPCStoryPhase("spawnset_name", "gone");
}
If you want to destroy an NPC you can do:
a,) teleport an object out of the location and then despawn/kill it. To teleport use ActionJumpToObject B,) or you can use DestroyObject – but it doesn’t always work on creatures
This script is doesn't work. I need further explantation of that things: ActionJumpToObject (This needs a character and a placeable tag?) and if create an empty phase with a name (gone) and use the upper script, the NPC disappear?