Horizon Scripting Class: Economy 101

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

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

  • @kevinbarraza1423
    @kevinbarraza1423 2 года назад +6

    Are there any more videos on scripting? I would like to see how to make a gun shoot, and how you can make enemies come towards and attack and adding health. 😬😬.. great videos...!

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

      This whole playlist is great for learning scripting, and even includes a video on how to make a gun :-)
      Let's Start Scripting
      ruclips.net/p/PL-A-AKbB7UL78OWbIrHfrkJ5G8dWU6MRD

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

      Also here’s a more advanced topic on how to follow a player :)
      ruclips.net/video/K6AsFIrBM8o/видео.html

  • @metaversepaige
    @metaversepaige 3 года назад +10

    This video is so slick! Your videos are super important for the Creators in Facebook Horizon! Thank you!!!

    • @Vidyuu
      @Vidyuu  3 года назад

      Thank you so much Paige! ^_^

  • @HanaTheLlama
    @HanaTheLlama 3 года назад +3

    Amazing scripting! Also Mercs art never ceases to amazing me

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

    Thanks for creating this! I was making noise some time ago about crypto wallets in the Metaverse. Player persistent variables sounds like the right track.

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

      Yeah! Especially when paired with the new Leaderboards:
      Horizon Worlds V43 & Leaderboards!
      ruclips.net/video/tiVt_d2BLAI/видео.html

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

      Me too! I am big on crypto in the metaverse! Next level!

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

    Thanks so much, this will help with our/All VR restaurants!

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

    Awesome video!! Excited to play around with this in world creation 🥰 Would love to see another video on how to let players buy things with the money they’ve earned! It’d be neat to create a world that’s arcade like. Where you can play games to earn tickets and then buy prizes with them! 🙃💞

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

      Oooooh! That’s such a great idea!! 🙀🔥

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

      @@Vidyuu Thank you 🙏 This video helped inspired it! I am going to start working on making some arcade games this week and hopefully 🤞following along successfully w/ this video to get tickets(money) 🎟 scripted into the world! 🎉

  • @yeseniapeguero9417
    @yeseniapeguero9417 7 месяцев назад

    Oh my gosh that is so sweet of you

  • @JoshWegener
    @JoshWegener 2 года назад +4

    Loving your videos. I'm new to horizon, I don't know what I'm going to build first. But I was thinking a spooky maze, where you have to use a flashlight... is there anyway to make a persistent variable across worlds??

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

      Got a few things I’m gonna send to you that I think might be interesting and worth watching… but first, I am a huge supporter of wanting to get persistent variables across multiple worlds, currently this is not possible. But there’s definitely some work being done on it and as a community the more we ask for a feature the more likely it is to be added :-)
      You can build doorways to the next world, and in that world have a code for the player to enter …

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

      So flashlights are difficult for now, we don’t have dynamic lighting yet, so one option is:
      Facebook Horizon: Flashlight Breakdown
      ruclips.net/video/A5HVLtBkI5k/видео.html

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

      Codes are fun, here is a more advanced topics class that goes pretty deep, can add you to the world if you’d like to take a look in Horizon 😁
      Facebook Horizon: Advanced Class: Hub World Locker (Codes & Player Persistent Vars) ruclips.net/video/p6VBExv0bog/видео.html

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

      Pairing numeric codes with letter codes can create player specific unique codes:
      Substring: Partial Names & Backspace! ruclips.net/video/KgmQSKLGbu8/видео.html

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

      Which would then require a keyboard and I’m giving this one away for free, but it can be difficult to use 😅
      How to Implement Free Keyboard in Facebook Horizon ruclips.net/video/GpNqjRjUuBw/видео.html

  • @okabistudio
    @okabistudio 11 месяцев назад

    14:38 do you mean sell Infinite Crop? I can't find you working on "sell Infinite Trigger" in the video. Where can I find it? + I don't understand why the balance is 13 16:37

  • @Mr.Glitch01010
    @Mr.Glitch01010 3 года назад

    yes looks like im going to b getting back on horizon to start a new world and make the game i been wanting to make when i started on horizon .

    • @Vidyuu
      @Vidyuu  3 года назад

      Woohoo!! 😁

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

    can we get a update to this ?

  • @JLBREMER
    @JLBREMER Год назад

    Ahh @2:00 makes sense now. I was wondering how to delete that.

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

    I’m sensing a Real life RP game.
    You can make people work for money, then they spend money on guns and knifes, sell drugs and commit crime for more money.
    You could even charge real money for items.
    I’m sure you could script purchasing a house (just having them purchase access to the door)
    Im seriously thinking lol

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

    How did you get money as a user persistent variable

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

    The enable and disable is gone from action part of the script. What should I do to generate money

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

      It was replaced by set trigger detection to (true/false) :)

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

      @@Vidyuu thank you!!! Is there a way you can show me how to do it now that’s it switched?

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

      @@markbradshaw5393 it works identical and is found in the same spot, the difference is disable = false, and enable = true... ie
      Disable TriggerObjVar => Set Trigger Detection for TriggerObjVar to False
      Enable TriggerObjVar => Set Trigger Detection for TriggerObjVar to True
      :)

  • @TopazeONETimeStudios
    @TopazeONETimeStudios 11 месяцев назад

    Fireeeee moreeeee

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

    Wonder if I can 3D scan my old neighborhood and make it a level on a game I like.

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

      That would be awesome! Tip though, things are actually better if they are closer in VR, in the real world we use cars or bikes, but when you have to actually walk that distance it’s not as much fun. If you haven’t seen the village, previously murder village, I encourage you to check it out, it’s a really fun world that is laid out in a way that’s easy to navigate and has quite a few places to see during the gameplay :-)

  • @jonathonlazar6865
    @jonathonlazar6865 Год назад

    Where do you find “player persistent variables” ?
    It is not under my settings. All I have under settings in the build menu is “build and Comfort”. There isn’t any “Player” sub menu. Also my sun menus run vertically on the left hand side and not along the top like in this video.
    HELP

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

    Please help me. I am so frustrated. I am trying to make an elevevator platform that goes up when you stand on it and then goes back down. What i have tried is making an animation of the elevator going up and back down. I made a trigger that takes up the whole space. When player enters trigger it plays animation so elevator goes up and then back dow, but it only does it once cause i have animation set to loop never. How do i make it to where everytime someone steps on the platform it will go up and then when they step off it goes back down.

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

      Also if i set it to loop back and forth, it just constantly will go up and down once player enters the trigger and never stops. I want it to stop when it goes back down and only trigger when player steps on it.

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

      You could do
      when trigger is entered by player
      - play animation
      When trigger is exited by player
      - pause/stop animation
      Pause would be cool if you want them to wait for it to come back down. Stop would reset it back to the bottom.
      Also consider using occupied and empty events for better user experience:
      Opening Door Script Tutorial (Facebook Horizon)
      ruclips.net/video/QmGgwOpezqU/видео.html

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

      @@Vidyuu i tried to do the when player enters trigger and then when player exits but it messes the script up. It acts like the player is exiting the trigger even though I am still occupying the trigger space and then the elevator platform stops. I want the platform to go back down after the player exits the trigger zone so that players on the bottom floor can use the platform to get to the 2nd level.

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

      Maybe I need to just skip the animation and move the platform using script and some type of if/else statement but i dont really know coding that well.

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

      That's definitely the best way to do it...you could of course have the platform simple stay in motion so the player just has to wait 2-3 seconds if they miss the previous one.....

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

    Hi, first of all thank you for all of the great content you put out. It has been very helpful. Secondly, do you have any kind of discord or have any kind of platform/service to off help to people that might be struggling with particular issues? I'm creating a world where I need to initialize objects in different positions relative to other objects and am finding this difficult with no global variables and only one script that you can attach to an object. Would I need to create an init type of script tied to a trigger that is executed when the world is created and then broadcast an event with params to 20 different referenced objects? Also is there a quicker way to create object reference variables if there are a bunch of them?

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

      Thanks for asking! We use the official Facebook group for this, definitely recommend joining us here: facebook.com/groups/horizonworlds/
      Let me explain to you what I do normally, and see if this helps…
      Create a pyramid object, this is your controller. Create your trigger or other object, and have a variable referencing the controller. You can then duplicate this object and it will retain the reference to the controller.
      On the controller instead of broadcasting out events, send an event to self like this:
      Send VarUpdate to self with param:Variable1, var2, var3
      When VarUpdate is received with var1, var2, var3
      //comment or other non essential codeblock is added to make sure the event is received
      On the other objects,
      When World is Started
      - Connect controlObject VarUpdate to local event VarUpdate
      When VarUpdate is received with Var1, Var2, Var3
      - set localvar1 to var1
      - etc

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

      @@Vidyuu Thanks. I don't know how I could have made that work in this case because I had multiple sets of objects which I needed to transform the positions relative to the other object within the set and also relative to all of the other sets. This would require that all of the objects be aware of the positions of the other objects or it would require an external script which holds references to all of the objects and sets all of their positions. Option B is what I ended up taking. It was kind of annoying setting up 20 different reference variables but ultimately it got the job done. Based on your reply I did spend some time taking a look at how to connect an event which I see can be quite powerful. Keep up the good work!

  • @Idizol78
    @Idizol78 5 месяцев назад

    Hello! I’m making a game and two of the features are when you defeat the dragon the chest opens up and gives the players money. Is there a tutorial for something like that?

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

    I’m new to this kind of scripting. Can we make crops that grow depending upon the seed planted. Like the discs that play different music?

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

      Here are some super OG tutorials on just that :)
      Advanced Plant Growth Tutorial
      ruclips.net/video/q_L_WYeplww/видео.html
      Plant Growth Breakdown
      ruclips.net/video/UrpvXwxP5Io/видео.html

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

    I can’t find how to create the Money variable 😢

    • @Soicyred
      @Soicyred Год назад

      I got it now due to comments

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

    This prob sounds dumb but I've never been able to actually save a photo I take. It times out before it saves anything and I'm just stuck with the "Saving..." box. Any help?

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

      No dumb questions, that’s very interesting, usually you just wait, max of 60 seconds, usually 15… if you can record a video of taking a picture and waiting for it to appear on the selfie stick screen, this might be some new bug that needs to be patched. 😅 You can share recordings like this in the official Facebook group: facebook.com/groups/horizonworlds/

  • @okabistudio
    @okabistudio 11 месяцев назад

    Hi, I am struggling to find where is "enable" and "disable" script 08:24 ? Is it changed to different scripts in the updated version?

    • @KRXZY.Z3KI3
      @KRXZY.Z3KI3 12 дней назад

      It’s set trigger detection

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

    Mines don’t show disable object, anybody know what I should do?

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

      Disable object was replaced with “set trigger detection” :)

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

      @@Vidyuu appreciate you love your work ‼️blessings🤞🏾

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

    All I want to learn is how to take an object from point A to point B and have the animation repeat. Why is it so hard to figure that out?

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

      Here's a video on animation without scripting :)
      ruclips.net/video/3x2BzROGqCo/видео.html

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

      If you really want to do it via script, this one’s a bit older, and I haven’t watched it in a while, but I remember it using a somewhat simpler technique:
      Butterfly Wing Rotation & Key Frame Motion Breakdown
      ruclips.net/video/Kg2DADRPh7Q/видео.html

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

      @@Vidyuu some of the objects triggers are no longer there. Like enable and disable objects.. what can I use instead.

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

      @@virally9218 Enable and Disable was replaced with "Set Trigger Detection to" (True/False) :)

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

    do you do live classes in vr? id love to join if you do or would consider it. currently working on a platformer for consoles. wanna build a horizons world before my next project which will be a vr game

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

      We hold create sessions on Wednesdays, and have many volunteers who can help :)
      5:30/8:30pm Pt/Et hope to see you there 😁

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

      @@Vidyuu ok cool! Wednesdays at 7:30 for me then. thanks for the reply, cant wait!

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

    hey, i love you.

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

      🤣😅💜😘😜🤣🤣

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

    Can the money be saved for returning players or once you leave world you have to start over everytime you join?

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

      Great question, the player persistent variable, is persistent between sessions, so in short yes. In some of the worlds I create, I clear the variable when the world is entered by the player. It’s gonna useful if you have a variable such as health, or some thing other than money.
      Hope this helps 😁

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

    OH. what about, charging players when they buy

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

      Exactly what I was thinking we do for 102 :)
      It’s simply
      When trigger is entered by player
      - if player money >= buy price
      - ~ subtract money and do the things

    • @Soicyred
      @Soicyred Год назад

      Is this video out now?

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

    Why is it unavailable? It was the only video online!

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

      I’m sorry I don’t understand?

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

    I can’t get my sunset to stay? I think I’m going to leave it as is? 😂

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

    I am definitely interested in using this script also. Does that player persistent variable carry over to other worlds. I would like to be able to have a player have a consistent balance throughout the worlds players visit. Is that possible? 🤔

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

      Unfortunately this is not possible… Yet, but I am a huge proponent for this feature to be added as well… You should request it here: this is the official group where devs look for feedback and feature requests :-)
      facebook.com/groups/horizonworlds/

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

      @@Vidyuu I will put a request in. Thanks!

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

      @@Vidyuu I'm reviewing those new albums with vids showing examples of scripts in the Horizon Worlds Community. Specifically looking at limitations and local scripts. It gives an example that includes persistent local variables, local script manager and default scripts. Could this be used to keep a player money balance constant when visiting worlds with similar local script managers?

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

      @@MokisWorldHub Great question, unfortunately not. I believe the example shown is how to interact with World Specific Player Persistent Variables as Local scripts are actually unable to interact with them and have to communicate with a default script to get this information. Hopefully this helps clarify :)

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

      @@Vidyuu thank you for the clarification.

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

    Can you make npcs, like needs based state machine

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

      This request is something I have been considering for awhile, and I actually started work on a path finding algorithm back over Christmas...but the question is, what would you want the NPC to do?
      I've got a few ideas, health, fight, wander, NPCObj Enters trigger, causing various animations to play...or even unlock certain things.
      But at this point I am stuck, it seems like it would be difficult to make a universal NPC script that is actually useful. With that said, what would you want your NPC to do, or be capable of? Thanks for the feedback and suggestion! 😁

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

      @@Vidyuu send me a collab invite when you ready 😁👍
      Crow Black
      Though, battle creatures like dungeon monsters, or Pokémon would be cool too, like chase or fallow

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

      @@Vidyuu Personally I would want mine to be like a SIM like AI family member in the metaverse, There may even be a way to attach an AI chat bot to it I don't know that requires an api call we might have to wait for that 1

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

      @@Vidyuu I was thinking like watching TV on the couch even if the TV doesn't work baby doesn't work or eating from the refrigerator or at the table or or going to bed add different things that, Like an AI kid like my daughter

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

      @@erobusblack4856 Awww, so perhaps a random task list...walks to positions, trigger causes animation to play :D
      NPCs that battle might be a good idea too, taking notes to consider later :)
      I believe I have already added you to the Essentials Bundle, it gets updated with new assets regularly :)
      *I will double check when I get on later tonight. 😁

  • @Ecaps.spaces
    @Ecaps.spaces Месяц назад +2

    Can you show us how to make leader boards

    • @Vidyuu
      @Vidyuu  28 дней назад

      Here's a tutorial we helped make on the topic awhile back: ruclips.net/video/WAUeiclYrdo/видео.html
      Also, you should join our Discord, we are very active and have channels for help and promotion :D
      discord.gg/v6hcQ9DtDv

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

    Some more economy vids would be awesome. Also Maybe something with a logbook that all players can see of who sold which items and for how much.

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

      I really appreciate your comment, I definitely want to make another one, I’ll see when I can get around to working on this :-)

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

      @@Vidyuu Awesome. Just want to say thanks again. Watching these and then being able to put our own spin on things from what you show us is amazing.

  • @RetroCudi
    @RetroCudi Год назад

    What's is action Disable and enable now its Not the same

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

      It has been replaced with “set trigger detection”

    • @RetroCudi
      @RetroCudi Год назад

      @Vidyuu Tutorials thank you. Instead of object to sell. How can I just make it to we're ever 10 minutes player gets paid

    • @Vidyuu
      @Vidyuu  Год назад

      Thank you so much for asking. I’d like to invite you to our Discord server, where you can ask questions like this, and even promote your worlds, we've got a great community, and would love to have you there! 🙂
      discord.gg/v6hcQ9DtDv

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

    Im making a night club, I'm really creative with building but I don't know anything about scripting, can you do a video on making laser nights or strobe light's?

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

      For a non-scripter this might be exactly what you need :-)
      Dynamic Lighting
      ruclips.net/video/BwXM8jdyqL4/видео.html
      For more advance lights you’re going to want to use the Projectile launcher… When it’s set to fire at a really fast speed with a long trail length it looks like laser lights :-)
      Here’s a beginner tutorial on using the projectile launcher:
      Respawn / Teleport Players With Projectiles in Horizon Worlds! #LaunchersCompetition
      ruclips.net/video/vI9X1le-tzg/видео.html
      And definitely watch this one too to get looping motion:
      Horizon Worlds V41 & The Projectile Launcher!
      ruclips.net/video/UW12ocCD7WU/видео.html

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

      @@Vidyuu omgggg thank you 😊

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

    Everything I have is stuck in a yellow box

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

    Could u invite me to all ur assets worlds pls sir

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

      Everything‘s been consolidated into the essentials bundle, so you should be all set! :-)
      If you find something that isn’t in there, specifically the keyboard, you can take a selfie to request access. And that one’s not in there because it breaks peoples worlds pretty quickly and you’ll have to recover your world. You really need to watch the video for that specific asset. 😅

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

    Can you please help me crest this work I have everything but scripts! This world will be the first. How can we meet in horizon!

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

      While there's a lot of work left, I am working on making an asset based off this video. I'd recommend coming by our Wednesday "Horizon World Tours" event to meet people and find peeps to collab with. Good luck! 😁

  • @Ecaps.spaces
    @Ecaps.spaces 27 дней назад

    Can you teach us how to make a little module thing that you can put people in like jail, add them as a mod kick them banned them un banned them

  • @calicreez1009
    @calicreez1009 Год назад

    I don’t see disable object in the list anymore🥲🏢

    • @Vidyuu
      @Vidyuu  Год назад

      Replaced with "Set Trigger Detection" same location, either false for disable, or true for enable :)
      Join our discord to get faster replies and meet other awesome creators ^_^
      discord.gg/v6hcQ9DtDv