Horizon Scripting Class: Economy 101

  Рет қаралды 14,494

Vidyuu Tutorials

Vidyuu Tutorials

Күн бұрын

Пікірлер: 114
@kevinbarraza1423
@kevinbarraza1423 3 жыл бұрын
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 3 жыл бұрын
This whole playlist is great for learning scripting, and even includes a video on how to make a gun :-) Let's Start Scripting kzbin.info/aero/PL-A-AKbB7UL78OWbIrHfrkJ5G8dWU6MRD
@Vidyuu
@Vidyuu 3 жыл бұрын
Also here’s a more advanced topic on how to follow a player :) kzbin.info/www/bejne/gWekpHl_p6eAbtE
@metaversepaige
@metaversepaige 3 жыл бұрын
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 жыл бұрын
Amazing scripting! Also Mercs art never ceases to amazing me
@AlexDChandler
@AlexDChandler 3 жыл бұрын
Right!!?
@clbnodse5226
@clbnodse5226 2 жыл бұрын
Thanks so much, this will help with our/All VR restaurants!
@Soicyred
@Soicyred Жыл бұрын
I can’t find how to create the Money variable 😢
@Soicyred
@Soicyred Жыл бұрын
I got it now due to comments
@RayRift
@RayRift 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 жыл бұрын
Yeah! Especially when paired with the new Leaderboards: Horizon Worlds V43 & Leaderboards! kzbin.info/www/bejne/qpq5pZKaZ6d_d6s
@boogieeweb3
@boogieeweb3 2 жыл бұрын
Me too! I am big on crypto in the metaverse! Next level!
@WhiteSword
@WhiteSword Жыл бұрын
can we get a update to this ?
@doomgoboomskat471
@doomgoboomskat471 2 жыл бұрын
How did you get money as a user persistent variable
@JoshWegener
@JoshWegener 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
So flashlights are difficult for now, we don’t have dynamic lighting yet, so one option is: Facebook Horizon: Flashlight Breakdown kzbin.info/www/bejne/d2arh3-qd9B8a80
@Vidyuu
@Vidyuu 3 жыл бұрын
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) kzbin.info/www/bejne/pme5c3iuq5WVpck
@Vidyuu
@Vidyuu 3 жыл бұрын
Pairing numeric codes with letter codes can create player specific unique codes: Substring: Partial Names & Backspace! kzbin.info/www/bejne/gZjQgoaBgayVq5o
@Vidyuu
@Vidyuu 3 жыл бұрын
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 kzbin.info/www/bejne/faGxop2In7qoeNk
@okabistudio
@okabistudio Жыл бұрын
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
@yeseniapeguero9417
@yeseniapeguero9417 10 ай бұрын
Oh my gosh that is so sweet of you
@IzzieAProductions
@IzzieAProductions 2 жыл бұрын
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 жыл бұрын
Oooooh! That’s such a great idea!! 🙀🔥
@IzzieAProductions
@IzzieAProductions 2 жыл бұрын
@@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! 🎉
@markbradshaw5393
@markbradshaw5393 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 жыл бұрын
@@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 :)
@familygaming9793
@familygaming9793 2 жыл бұрын
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 жыл бұрын
@@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!
@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
@Idizol78
@Idizol78 8 ай бұрын
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?
@JLBREMER
@JLBREMER Жыл бұрын
Ahh @2:00 makes sense now. I was wondering how to delete that.
@MxFourhornes
@MxFourhornes 2 жыл бұрын
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 kzbin.info/www/bejne/p5CvkIqPmtWfrdk Plant Growth Breakdown kzbin.info/www/bejne/i6PTp4utrbVof9E
@MiguelExhale
@MiguelExhale 2 жыл бұрын
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 :-)
@japanesecinema6736
@japanesecinema6736 2 жыл бұрын
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 жыл бұрын
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) kzbin.info/www/bejne/h56qmKqFpcqtp7c
@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.....
@DankFranks
@DankFranks 3 жыл бұрын
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 3 жыл бұрын
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/
@Chatmanstreasure
@Chatmanstreasure 2 жыл бұрын
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 😁
@2000jeepNotF2P
@2000jeepNotF2P 3 ай бұрын
Can you show us how to make leader boards
@Vidyuu
@Vidyuu 3 ай бұрын
Here's a tutorial we helped make on the topic awhile back: kzbin.info/www/bejne/jXK4lpyZob6lmtE Also, you should join our Discord, we are very active and have channels for help and promotion :D discord.gg/v6hcQ9DtDv
@arturpiatek6186
@arturpiatek6186 2 жыл бұрын
Why is it unavailable? It was the only video online!
@Vidyuu
@Vidyuu 2 жыл бұрын
I’m sorry I don’t understand?
@okabistudio
@okabistudio Жыл бұрын
Hi, I am struggling to find where is "enable" and "disable" script 08:24 ? Is it changed to different scripts in the updated version?
@BentSpoonGT
@BentSpoonGT 2 ай бұрын
It’s set trigger detection
@HBKJUAN4
@HBKJUAN4 2 жыл бұрын
Mines don’t show disable object, anybody know what I should do?
@Vidyuu
@Vidyuu 2 жыл бұрын
Disable object was replaced with “set trigger detection” :)
@HBKJUAN4
@HBKJUAN4 2 жыл бұрын
@@Vidyuu appreciate you love your work ‼️blessings🤞🏾
@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!! 😁
@HellHoundzProductions
@HellHoundzProductions 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@Vidyuu ok cool! Wednesdays at 7:30 for me then. thanks for the reply, cant wait!
@philipobando
@philipobando 2 жыл бұрын
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 :) kzbin.info/www/bejne/aamVc62IhKykedE
@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 kzbin.info/www/bejne/gZiVdXR6h7WbbbM
@virally9218
@virally9218 2 жыл бұрын
@@Vidyuu some of the objects triggers are no longer there. Like enable and disable objects.. what can I use instead.
@Vidyuu
@Vidyuu 2 жыл бұрын
@@virally9218 Enable and Disable was replaced with "Set Trigger Detection to" (True/False) :)
@TopazeONETimeStudios
@TopazeONETimeStudios Жыл бұрын
Fireeeee moreeeee
@erobusblack4856
@erobusblack4856 2 жыл бұрын
Can you make npcs, like needs based state machine
@Vidyuu
@Vidyuu 2 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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. 😁
@MokisWorldHub
@MokisWorldHub 2 жыл бұрын
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 жыл бұрын
@@Vidyuu I will put a request in. Thanks!
@MokisWorldHub
@MokisWorldHub 2 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@Vidyuu thank you for the clarification.
@RetroCudi
@RetroCudi Жыл бұрын
What's is action Disable and enable now its Not the same
@Vidyuu
@Vidyuu Жыл бұрын
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
@MxFourhornes
@MxFourhornes 2 жыл бұрын
OH. what about, charging players when they buy
@Vidyuu
@Vidyuu 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?
@mupito12
@mupito12 2 жыл бұрын
hey, i love you.
@Vidyuu
@Vidyuu 2 жыл бұрын
🤣😅💜😘😜🤣🤣
@cosmicavenger007
@cosmicavenger007 2 жыл бұрын
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 жыл бұрын
For a non-scripter this might be exactly what you need :-) Dynamic Lighting kzbin.info/www/bejne/eKi7fmugmd6kgpY 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 kzbin.info/www/bejne/rHqciWSimpKnsMk And definitely watch this one too to get looping motion: Horizon Worlds V41 & The Projectile Launcher! kzbin.info/www/bejne/i4iUY6KZeKlqjbc
@cosmicavenger007
@cosmicavenger007 2 жыл бұрын
@@Vidyuu omgggg thank you 😊
@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
@andrewhartin
@andrewhartin 2 жыл бұрын
Everything I have is stuck in a yellow box
@allikist
@allikist 2 жыл бұрын
I can’t get my sunset to stay? I think I’m going to leave it as is? 😂
@erobusblack4856
@erobusblack4856 2 жыл бұрын
Could u invite me to all ur assets worlds pls sir
@Vidyuu
@Vidyuu 2 жыл бұрын
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. 😅
@cbelor
@cbelor 2 жыл бұрын
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 жыл бұрын
@@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.
@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! 😁
@2000jeepNotF2P
@2000jeepNotF2P 3 ай бұрын
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
Lists 101 & While Loops: Ordered Scores (Facebook Horizon)
25:12
Vidyuu Tutorials
Рет қаралды 4,1 М.
Let's Build Mansion Windows in Horizon Worlds!
8:39
Vidyuu Tutorials
Рет қаралды 14 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 8 МЛН
Opening Door Script in Horizon Worlds!
9:59
Vidyuu Tutorials
Рет қаралды 11 М.
Create Unbelievable Ladders in Horizon Worlds! (No Script)
10:26
Vidyuu Tutorials
Рет қаралды 3,2 М.
Flying Tutorial using Player Movement Script ☂ ⬆️
7:06
Meta Horizon
Рет қаралды 4,2 М.
I'm A Hole
1:05:57
iShoya
Рет қаралды 110 М.
Keyframe Motion in Horizon Worlds! (Script Tutorial)
21:06
Vidyuu Tutorials
Рет қаралды 6 М.
Horizon Worlds Tutorial - Episode 3: Scripting Basics
38:53
David Helberg
Рет қаралды 7 М.