get player faction
i want to put up a proximity around a npc and then when a player enters it check if its hostile to the player then get the faction id of itself if that faction id = 19471 (hostile) and if the player is not kos then report them for ghosting in a log and shout it to the zone. and tell the player they have been reported would me nice also.
im sure something like this could be done using quest objects but i cant for the life of me figure it out.. i figure i could put this quest on the default.pl file that way all npcs that don't have a quest are running it and then checking players near them. at lest till there is a fix in the server code to check for ghosting. i would say the proximity did not have to be to big but big enough to catch someone walking by.
|