Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
Does this require Citizens as an addon? If so, you should specify that it's required.
Removed click events, added "is citizen" condition to replace it.
Converted expressions to property ones, and started using changers.
You can cancel the navigation.Nice little addon!
[doublepost=1517914746,1517871007][/doublepost]But this is not working or am I doing something wrong?
set {_x} to citizen of targeted entity
set {_id} to id of {_x}
message "{@pre} Citizen ID: %{_id}%"
result is <none>
And how do you STOP the NPC to follow a player? Because PAUSE the npc gives console error:
https://hastebin.com/apepiqaqak.md
And the SLEEP animation does not work (but no errors)
cancel navigation of the last citizen
Just use the vanilla Skript's mount effect?can you add an effect that makes a player to ride the citizen?
Just disable the hook in Skellett's configPlugin breaks Skellett (another skript addon) when both are enabled on the server:
https://hastebin.com/ugajoxezif.vbs
Added:
- Citizen to Entity (converter)
- Optional "[npc]" prefixes for properties to be used if needed.
Removed:
- Entity of Citizen (expression)
Fixed:
- Pause Navigation (effect)
- Destroy Citizen (effect)
Known bugs:
- The "sleep" animation is not working on any block, it only works when the citizen is on a bed. If you break the bed, the citizen will become invisible until you use the "stop sleeping" animation.
add "NPC is clicked by a player" event
on rightclick on player: #for a player type npc
event-entity is a npc:
#stuff