How To Script a Gun or Projectile Launcher in Horizon Worlds

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 26

  • @mica8076
    @mica8076 2 года назад +2

    Thanks so much. I finally understand the basics of scripting, needing variables and attaching stuffs to them to make them work. Awesome!

    • @anonymomvr
      @anonymomvr  2 года назад

      @mica awesome! I'm in Horizon almost every night, reach out if you want to collaborate on anything, seriously! Also, make sure to check out @vidyuu essential pack! He has put so much time into creating examples for people to use. 🤗

  • @nicksbackup9063
    @nicksbackup9063 2 года назад +1

    bless this is the best tutorial ive seen of this yet

    • @anonymomvr
      @anonymomvr  2 года назад +1

      yay! Thanks Nick, I'll be adding some addition steps to this, like how to attach objects to the projectile! :)

  • @Wrestlin4days
    @Wrestlin4days Год назад +1

    Thank you so much I’m a new scripted and needed this for a friend god bless

  • @michaelblue1001
    @michaelblue1001 Год назад +1

    Thanks, super helpful

  • @jonathansimpson1106
    @jonathansimpson1106 Год назад +1

    💚new subscriber
    This is awesome! How to put the players hand on the gun in the right spot was a must! Couldn't figure it out for nothing! I was putting invincible blocks all over the gun but the trigger lol
    I'm trying to store the gun on my torso and it asked for a position on my torso to put the gun???
    Anyway, very good vid' I'm glad I stopped by! 😎🎉

    • @anonymomvr
      @anonymomvr  Год назад +1

      Hey thanks Johnathan! To put it in a holster, you'll need to add a line for when player releases an object, attach attachable to player. Then in the settings of the onject, you can choose where on torso to attach. 😊

  • @luisachadinha4465
    @luisachadinha4465 2 года назад +1

    Awesome job will try it. Now how can you script a gun to be by your side when you enter a world?

    • @anonymomvr
      @anonymomvr  2 года назад +1

      If you are in facebook, join wafflecopters group ( house of waffles) he just posted a script that shows how to holster an object!!

  • @willcamick
    @willcamick 2 года назад

    This was helpful thank you. I am trying to make a bed of spike fall on a player and have them go back to respawn if they get hit. How would I do that?

    • @anonymomvr
      @anonymomvr  2 года назад

      Hi Will!
      I think all you need is
      1. Script Block (set up an obj var)
      2. Trigger
      3. Spawn Point
      I would group the trigger with your animated spikes - attach the script to the group
      then in the script block write::
      when world starts, if trigger is entered by player,
      respawn player to Spawn Point (var)
      I'll be on later if you want me to show you! :) Look me up, anonymom

  • @Tommyboi7566
    @Tommyboi7566 2 года назад +1

    Dose this love ray gun make them go bye bye?

    • @anonymomvr
      @anonymomvr  2 года назад

      If you visit 'Valentines Day Selfie Island' with a friend... if you get shot with the gun, it respawns you to a table that has love messages on hearts! 😉😊

  • @nordicaryanAntiZog
    @nordicaryanAntiZog 8 месяцев назад +1

    this did NOT work. you left out stuff, or it would've worked.

    • @anonymomvr
      @anonymomvr  8 месяцев назад

      I'm sorry it isn't working for you - most people have had success, but as versions change... so do interfaces.
      This video was made close to 2 years ago, and this is the first time I am hearing the steps did not work.
      If you haven't had a chance to check out Vidyuu's page, he may have a more recent version then this! Thank you!

  • @nordicaryanAntiZog
    @nordicaryanAntiZog 8 месяцев назад +1

    what did you just fail to do at 1:11 of this video? YOU FAILED TO EXPLAIN "GROUPING ITEMS" . . .as a result, it failed.

    • @anonymomvr
      @anonymomvr  8 месяцев назад

      it is explained at 9:55 🎉

  • @nordicaryanAntiZog
    @nordicaryanAntiZog 8 месяцев назад +1

    it's not letting me bring up the ADDED spawn, sound, FX, and PROJECTILElauncher on the SCRIPT. why?!? because you failed to make a proper video on why this is occuring, because im 100% perfection when it comes to following orders, and taking notes, even when the video presenter is showing the video from too far away as you are here/now.

    • @anonymomvr
      @anonymomvr  8 месяцев назад

      Selecting all items and hitting (pushing) the joystick to the left groups items.

    • @nordicaryanAntiZog
      @nordicaryanAntiZog 8 месяцев назад +1

      @@anonymomvr IKR. thanks sis! lol

    • @nordicaryanAntiZog
      @nordicaryanAntiZog 8 месяцев назад +1

      @@anonymomvr the 'hand(green hand)' , where does that come from?

    • @anonymomvr
      @anonymomvr  8 месяцев назад

      @@nordicaryanAntiZog in the properties panel, you make an object grabable, then in the last tab is the handed option.

  • @nordicaryanAntiZog
    @nordicaryanAntiZog 8 месяцев назад +1

    second time doing this and second time it failed. I FOUND OUT WHY THOUGH. when i GROUP the items with the blue bubble, THE DROP DOWN MENU DOES NOT SHOW UP TO ATTACH THE 4 ITEMS!!! it ONLY DOES IT WHEN I CLICK ON "GROUP ITEMS" but then everything's grouped and i cannot individually go into the items to take the pill to put INTO the grouped item!!! why? because it's GROUPED! only when i UNgroup the items, but then i AGAIN dont have the option because NOTHING IS DROPPING DOWN TO ADD THE ITEMS TO WHEN I BLUE-BUBBLE-GROUP THEM! WHY?!@?!?!?!?!?!?!??!?!?! that's the ONLY STEP THAT ISNT WORKING. this shiit is easier than fk, but there's always some 2 year old screw-up that affects my shhit lol. all your comments are old as well, it did NOT work ,because of the GROUPING FK UP. it's NOT DROPPING DOWN THE OPTIONS TO ATTACH THE 4 TO THE GROUPED ITEMS. it ONLY gives that option when i additionally go to "GROUP/UNGROUP" at the top after i grouped the 4(sound/FX/gun/projectileLauncher) together! wtf is wrong with what here?!? im doing it beyond correct and AGAIN, nothing is working due to that step and that step alone! what is the problem?!?!?!?! it's NOT ME. i dont see how it's YOU, either. DO I HAVE TO RENT ANOTHER UNIVERSE TO CRAWL INTO THE SCRIPT AND PULL IT DOWN MYSELF?!? lol. wtf man. i'd make an excellent video-creator for these IF I ONLY KNEW HOW TO CREATE ONE

    • @anonymomvr
      @anonymomvr  8 месяцев назад

      You have to add the script to your grouped object to be able to see the 4 variables. If you press ab xy at the same time you can report a bug. It sounds like you are having issues that arent related to my tutorial within the version you are running.