![]() |
NPC interact with Ghosts - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: NPC interact with Ghosts (/Thread-NPC-interact-with-Ghosts) |
NPC interact with Ghosts - Nachtmusique - 06-01-2016 06:51 AM I know that healer brain types interact with ghosts, but is there a way to make an NPC hostile to ghost players? I'd like to make a Reaper NPC that is only visible to Ghost players and will chase ghost players. If caught by a reaper, the player's ghost is transported to the abyss or something like that. Is this even remotely possible? RE: NPC interact with Ghosts - XuN - 06-01-2016 06:00 PM Right now every attack done to a ghost is stopped from the source to avoid exploits, the only way to achieve this is to compile your own build allowing this to happend and changing all your scripts blocking attacks to ghosts in the rest of cases. RE: NPC interact with Ghosts - Nachtmusique - 06-01-2016 10:06 PM Well poop. So, no way to block healing behavior on a healer brain and script for him to chase? I don't need them to "attack" per say, just chase and fire a trigger when they get close. RE: NPC interact with Ghosts - XuN - 06-07-2016 04:46 PM If so, you can do it with @NPCLookAtChar and starting the Follow skill: act=<src> action=100 RE: NPC interact with Ghosts - Nachtmusique - 06-08-2016 08:52 AM Great! I think that would work. Here's what I'm thinking... An evil player dies. He begins periodically spawning reaper NPCs nearby every few seconds. (The more evil the character, the more reapers are spawned) These reapers follow the dead player but are "singleremovefromviewed" from all living players. If the ghost player comes within 1 tile of any reaper NPC before being resurrected, he is banished to the abyss. Similarly, I could also have Priest NPCs that would act like normal healers for good players but exorcise the ghosts of evil players to the abyss. Thoughts? |