Ur almost at 300 videos... thats crazy to think about how much value you've brought regular degular people when it comes to building!
@crazymakerofthings6332 жыл бұрын
Thanks so much for these videos! Never would have even figured out how to move the reference pill between objects if it hadn't been for you.
@tom_something2 жыл бұрын
The visual scripting environment looks so intuitive... until the moment you have to use it to do something that isn't just... already a thing. Iterating through a list. Sorting a list. There are many programming languages where you can do this with just a tiny little piece of code. But here.... I can't imagine how much patience you have, to be able to figure this whole thing out. It's really remarkable.
@Vidyuu2 жыл бұрын
More codeblocks are added regularly, if you ask you may receive ;) Here’s a link to the official group, where you can make feature requests: facebook.com/groups/horizonworlds/
@tom_something2 жыл бұрын
@@Vidyuu Thanks! I'm sure there have been others requesting more codeblocks for lists, but I'll add my voice to the chorus. I went through beginner tutorials from two other channels before I found yours. Yours are much easier to understand. That's super important, since I have to take my visor off to watch KZbin, and I have to rush back into Horizon before it auto-closes. I'm sure Meta is working on a way to expand multitasking so I can at least watch a KZbin tutorial without closing Horizon. I'm still having fun though.
@Vidyuu2 жыл бұрын
I’m fighting for this too, hopefully sooner than later 💜🙌
@tom_something2 жыл бұрын
@@Vidyuu They let me in the group, and five days ago I posted about how it would be nice to have block to convert a color into its RGB values, and I added my current workaround, which is to convert the color to a vector and then pull the X/Y/Z out of it. This afternoon there was an update, and the only release note for the scripting portion is that there's now a color-to-RGB block. And they made it even better than what I was talking about. Rather than separate blocks for R, G, and B, it's a block that features a _dropdown!_ Could just be a coincidence. I'm glad to see it, though. I have a couple of experiments that require access to the RGB values, so it's nice to have something that makes my scripts a little shorter, since you can only see a few lines at a time. I think it's the first block to feature a dropdown, but I hope it's not the last. Having separate blocks for "greater than" and "greater than or equal to" is nice when you're grabbing a fresh block to use, but if you realize later you want to change it, it's this whole "duplicate the whole line of code, drop the greater-than-or-equal-to block, use the original to repopulate the values for it, delete the original" thing. Drop-downs, in! What's next? Radio buttons? Checkboxes? Oooo, a unification of "send event" and "send event with delay".
@cantjimout253 жыл бұрын
This is such a useful script and helpful breakdown ^^
@Vidyuu3 жыл бұрын
Thank you so much!! 😁
@fefe__3 жыл бұрын
Awesome video! Definitely gonna use in the future
@Vidyuu3 жыл бұрын
Thank you so much for watching! If you’d like to be added to the world, just drop your user name and I’ll add you as a collaborator :-)
@fefe__3 жыл бұрын
@@Vidyuu first 2 letters of my last name
@Vidyuu3 жыл бұрын
Omgggggg XD The connection, I’ve made it, thanks for watching fe fe! 💜😍😁
@empress50392 жыл бұрын
Aye this is a good one!!! If I wanted the target my player shoots at to reflect receiving a “point” you think you could do another video on this script sometime or maybe help me understand?? Blessings to you Fam!
@Vidyuu2 жыл бұрын
One of my favorite new codeblocks is owner of, this allows you to get the owner of an object (found on the actions tab). And if you’re using the projectile launcher it will actually return the player who was hit. I’m going to grab a couple links that might help :-)
@Vidyuu2 жыл бұрын
Respawn / Teleport Players With Projectiles in Horizon Worlds! #LaunchersCompetition kzbin.info/www/bejne/rHqciWSimpKnsMk Horizon Scripting Class: Economy 101 kzbin.info/www/bejne/gHSoiI2lft2Yn80
@empress50392 жыл бұрын
@@Vidyuu Yaaaas, thank you dude !!!!! These def helped, s/o for everything you do !!! These videos are Platinum. My brain is breaking lmaoo but I’m close! I’m stuck on if player with a gun (projectile) hits an object (bird) and it currently disappears and makes a sound but now I want it to track the score when being hit do I plug recognizing the player in my bird script or the hit script of my gun or a whole different page of new script 😅🤨😭
@Vidyuu2 жыл бұрын
@@empress5039 Great question, consider using the new owner of codeblock found on the Actions tab. For instance on the gun When World is Started -listen to events on ProjLauncherVar When Index Trig Pressed by Player - Launch Projectile on ProjLauncherVar When Projectile Collides WIth Object - Set Visibility to false, etc - Set Player Score to Get Score + 1 for ( owner of ( self ) ) Because this script runs on the gun, the person who grabs the object is automatically the owner :D You can also save a player var for later by creating a Player ID Variable, and then do "Set MyPLIDVar to Player" this would go into grab start, trigger press, or other player related events :)
@empress50392 жыл бұрын
@@Vidyuu I never said thaannnnk yous!!! Love your energy dude ❤️🔥👊🏾
@steffenbaker94292 жыл бұрын
Are tuples, dictionaries, and sets a thing in Horizon Worlds?
@Vidyuu2 жыл бұрын
Not yet, but I’m sure one day we’ll get these! :)
@bigchief58032 жыл бұрын
Where did you get the Score+1 script?
@TH3B4K32 жыл бұрын
How much would you want, to make my timer leaderboard script. I just can’t grab the concepts. I’ve given up…
@Vidyuu2 жыл бұрын
There’s some free ones in the essentials bundle! :D what’s your oculus username?
@PatDooley503 жыл бұрын
thank you
@Vidyuu3 жыл бұрын
Thank you Pat! Running out the door, I’ll be back home later tonight, would you like me to add you to the world when I get home? :-)
@PatDooley503 жыл бұрын
@@Vidyuu thank you! I would love to be added - utterlyotter
@rodolfocastro10432 жыл бұрын
If I do join the free world how do I save this so I can bring it to my own world ? because I tried it and the names aren't popping up
@Vidyuu2 жыл бұрын
Hopefully this helps :) How To Import Worlds & Assets kzbin.info/www/bejne/ppbHq6iplLaohpo
@alexbutler15922 жыл бұрын
I'm trying to do the same scenario but with an object entering a trigger (think basketball scoreboard), but i can't seem to make it click. is there a common mistake i might be making?
@Vidyuu2 жыл бұрын
I’m wondering if you set the trigger to detect objects with a tag, and also added a tag to the objects… Here’s a video that should explain this a little bit better, let me know if you’re still having trouble 😁 Teleport Key kzbin.info/www/bejne/lZbddY2em9eZkK8
@Kiraloven2 жыл бұрын
How do we do it when it’s teams
@Vidyuu2 жыл бұрын
This is a great question, there are a number of options: Option 1, create a team score manager, this will store a variable tracking the teams points Ie. When trigger is entered by object - set CurScore to CurScore + 1 You would have one for each team (presuming there are separate goals. You could send an event to that score manager to get data, ie: On another object: - send GetData to Team1 with param: self - send GetData to Team2 with param: self When NewData is received with ObjVar and NumberVar - if ObjVar = Team1 - - set Team1Score to NumberVar - if ObjVar = Team2 - - set Team2Score to NumberVar On the score manager script When GetData is received with ObjVar - send NewData to ObjVar with Self and CurScore
@Vidyuu2 жыл бұрын
This video might help :) Send & Receive Object Properties kzbin.info/www/bejne/aXjPgHuuiJaKZ7s
@Vidyuu2 жыл бұрын
Also consider checking out this section of the learn hub :) www.oculus.com/horizon-worlds/learn/tutorial/count-objects-in-a-trigger/
@RandomsHouse3 жыл бұрын
Hi Vidyuu. Love your videos. I'm working through this video to reproduce your code, but in Scores+1 script, I am getting a "Type error in Facebook.SocialVR.Modules.Scripting.LequalOperation" at the if statement. Do you know what could be causing this?
@RandomsHouse3 жыл бұрын
N/m, i found my error.
@Vidyuu3 жыл бұрын
Great to hear that you solved it! :-)
@MrsLaBear Жыл бұрын
Hi Viduu would this work to add to my leaderboard in world so that every players points double ?
@Vidyuu Жыл бұрын
Perhaps, but it would only work if the players are currently in the world. Instead of +1, use *2 :)
@courtneypearls6382 жыл бұрын
How would you change the script to make the ice cream cones go off every time you touch them?
@Vidyuu2 жыл бұрын
Just leave the one line to increase score and delete the if in list portion
@MakeMoneyBuddy2 жыл бұрын
How to reset the score in world?
@Vidyuu2 жыл бұрын
Something like: When world/trigger is entered by player: - set playervariable to 0 for player Hope this helps :)
@crich20912 жыл бұрын
Hi, could you point me to where i can find out how to use lists for sending pop ups? For instance, I have created 2 lists of players, teamA and teamB. I am attempting to have “when object X is grabbed send a pop up to each individual player on team A. I think pop ups are only able to be sent to individuals, so is there a way to retrieve the plid for player at index 1, 2, 3 etc from playerlistA and send a pop up to those unique plids? Or can I send a pop up to an entire list of players at one time?
@Vidyuu2 жыл бұрын
you’ll want to while loop through the list, you can then show a pop up to each person once at a time… i’ve got a run, or else I’d go in to more detail, but there is an easier way, where you create a iterator player id list, you can set that list to be plid list a, and then remove an item at a time and while loop for as long as there are items in the list… It’s a little bit easier and a new technique I’ve been working with, definitely need to make a tutorial on this :-)
@crich20912 жыл бұрын
@@Vidyuu thank you.
@Vidyuu2 жыл бұрын
No problem! Let’s see if I can break this down real quick: Set IteratorPlidList to PlidListA While (length of IteratorPlidList) > 0 - show pop up for get item at index 0 in IteratorPlidList - remove item at index 0
@crich20912 жыл бұрын
@@Vidyuu wow this actually works well and was easy to set up with your instructions! You’ve saved me so much time :) I’ve noticed if you have multiple pop up events that happen at the same time only one will show up. Is there a way to have them stack and show up in turn? I wish we could customize the audio on the pop ups. Is there a (hopefully equally smooth) way to just send audio to your specific lists?
@Vidyuu2 жыл бұрын
@@crich2091 This is probably possible if you create a pop up manager for each player, but really not worth the hassle for most cases, would just recommend using delayed events for the pop up...like if you know it always goes A B C, do pop up a immediately, send event B with 4 second delay, then event C with 8 second delay. A player manager would have to create a list of the strings for the pop up and then remove them 1 at a time resending the event as long as the list was greater than 0.... Interesting idea though :)
@leftfishjet40293 жыл бұрын
So... list==array?
@Vidyuu3 жыл бұрын
Yes! :)
@Byron_Hill2 жыл бұрын
Hi. I would love a copy of this world. I am building a world that is using a lot of list type scripting and this may help a lot. Thank you!!
@Vidyuu2 жыл бұрын
What’s your Oculus username Byron? :)
@Byron_Hill2 жыл бұрын
@@Vidyuu C9JoeByron If you want to add me too i would love to show you what i am working on sometime! I couldent have done it without your videos 🙌🏼🙌🏼
@Vidyuu2 жыл бұрын
Thanks Byron! Pleasure to help! I’ll add you late tonight :) How To Import Worlds & Assets kzbin.info/www/bejne/ppbHq6iplLaohpo
@TheHoustonCrew3 жыл бұрын
Can I please be added to this world? ~Rainmaker99
@Vidyuu3 жыл бұрын
Added :)
@carsonelliott6272 жыл бұрын
Hey man 😊 great video! Can I get access to this world? Shizencoff, I believe you have me added already 🤟🏻
@Vidyuu2 жыл бұрын
You got it :) You’ll find it in the corner near the carnival rides, make sure to import the world into an empty world :)