skRayFall

skRayFall

297k Downloads

Add more conditions & events

shepherdjerred opened this issue ยท 4 comments

commented

It'd be awesome to have a condition based on the name of the citizen, for example

if npc name is Town Guard:
broadcast "You are near Town Guard" to player

Along with this, an event that detects when a player is near an npc

if player is within 10 blocks of npc named Town Guard:
broadcast "You are near Town Guard" to player

The reason I'm asking for this is my current Skript file is 100-200 lines long, because I have to do events for each NPC individually, this would make it a lot easier.

Thanks!

commented

Hey @shepherdjerred,

The main reason that we have not added this is because at the time I thought it might cause issues with multiple NPC's named the same thing, however I will be looking at adding in both features in the next release, which is coming up very soon.

Thanks for using skRayFall!

commented

Alright, thank you!

commented

Hey @shepherdjerred,

Just wanted to let you know I have added the "if npc name is" in release 1.1.1 which can be found here: https://github.com/eyesniper2/skRayFall/releases.

Ill be working on the "if player is within 10 blocks of npc named Town Guard:" for the next update.

Thanks for using skRayFall!

commented

Thank you!

I was able to get rid of a lot of extra lines, should also make my life a lot easier in the future.