Recent content by Hyao

  • Welcome to skUnity!

    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!

  1. Hyao

    Particles

    Remove "for player" show 20 "flame" particles at location of player offset by 0.4, 0.7, 0.4 or, if that doesn't work: show 20 "flame" particles at location of player for all players offset by 0.4, 0.7, 0.4
  2. Hyao

    Packet event and setting blocks to air error

    on packet event play_client_arm_animation: I use this code to get when the player uses the mouse button(s) to run a piece of code. In that code I have this line: set block at location of {_loc} to air which locates itself inside of a function. When I try to run this, I get a stacktrace...
  3. Hyao

    Solved SkDragon syntax doesn't work with no errors

    drawDot count 25, particle "smoke", material redstone block, XYZ 0.5, 0.5, 0.5, center location of player's head, visibleRange 32, pulseDelay 2, keepFor 1 tick drawDot count 50, particle "explosion", XYZ 1, 1, 1, center location of player's head, visibleRange 32, keepFor 1 tick drawDot count...
  4. Hyao

    Solved 1.12 NBT error

    Using Bensku's dev32 version, and the other plugins are all downloaded from resources and constantly kept updated. I'm trying to give the player a sword, but I can't seem to add NBT. I've tried the way I've always done it, give 1 stone sword with nbt "{Whatever}" to player But the error I get...
  5. Hyao

    is blocking?

    Is there any event or any workaround for shield blocking? I'm trying to incorporate skyrim-like skills into my game but I don't quite know how to check for blocking. I could check for if the player is right clicking, takes damage but takes no damage - but I'm not sure if that would work...
  6. Hyao

    Solved Any lore?

    if player's inventory contains itemtype with name "name" and lore "lore":
  7. Hyao

    News The official release of skUnity Docs 2

    One thing you might have forgotten(?) In the old one, which I just saw - when I type "furnace" I get all results containing "furnace", wether it's the body or the header. In the new one, if I search "furnace" and click "events" - it finds nothing, and I was looking for "on extract" (which I...
  8. Hyao

    News The official release of skUnity Docs 2

    Is there a way to get the old one as a theme? I love the new one, don't get me wrong, it's clean, it's fast, it's great - but I've gotten so used to the old one my eyes are confused about syntax placement and other things. If you could add some sort of setting to switch between this one and the...
  9. Hyao

    Solved Contains/is doesn't work.

    Skript 2.2-dev29 by Bensku Unsure about addons I use, if you need any other versions - ask, but should be on the most recent ones found under "Resources ▼". I have a string, being set like this: set {curEvo.%{_id}%} to "chicken" And I check it like this, but it returns NOTHING, not a single...
  10. Hyao

    Solved Invisible mobs without particles?

    Heyo, trying to make custom mobs by spawning invisible silverfish and making whatever teleport to them (armor stands, items, you name it) but can't seem to make them invisible without particles. The umbaska apply [potion of] %potioneffecttype% [potion] [[[of] tier] %-number%] to...
  11. Hyao

    Calling functions from other scripts?

    Its really just as the title says. I'd like to call functions from a "main function script" from my other, "caller" scripts. Is this possible? Is it just as simple as having to first load the function script and then loading the one that calls it? Thanks in advance.
  12. Hyao

    The best way to a written book's heart?

    So, I'm currently trying to give my players a sort of "quest log", which is a written book in their inventory. What I have right now is setting their 6th slot to a written book, then momentarily changing their current hotbar slot to 6 - then editing the book. My syntax is SkMundo's set page 1...
  13. Hyao

    Solved Read line (variable) in file

    This is my code set {_npc} to npc from entity loop-entity set {_npcId} to id of npc {_npc} set {_line} to ({_npcId} + 1) set {_name} to line {_line} in file "/plugins/chi/npcName.txt" When I debug it, npcId returns 0 - good. line returns 1 - good. name returns.. <none>. I've tried parsing...
  14. Hyao

    Solved Store data in entities(armor stands)

    Say I want a hologram plugin, I would spawn some invisible armor stands and whatnot, but what if I wanted to ID them. I can add some NBT, but that goes away if it's invalid, doesn't it? I've tried thinking of giving it variables like you do with %player% and %uuid of player%, but they don't seem...
  15. Hyao

    Loop blocks in front of the player?

    Using Bensku's fork for mc 1.12 and unsure which addons this uses, but downloaded them all from "resources" yesterday. My problem is simple, really, loop all blocks in front of the player: Doesn't work. loop all blocks in direction of the player: doesn't work either. Does anyone know why this...