Very helpful! This got me over a roadblock I was having. Ive been able to script events, projectiles, etc, but didn't get how to send events from one script to an object attached to another script. I thought each affected object had to be running the same script. Now, I think I can finally implement scoreboards to my Tie Fighter and Shrink Ray games! Just need to figure out a bit more about persistent variables for multiple players. Looking forward to the next video.
Best video on player persistent variables I've seen, so many use cases for this. If you set the event loop like you did, does that mean it's running every .01 seconds? Will that eat up capacity quickly if you had a few of these running? Would sending event with 0.1 sec delay noticably save capacity? Thanks
Thanks so much. So setting it up the way I did has the event run every frame. The quest 2 runs anywhere from 90-120 frames per second so that many times per sec. Which can use up capacity if you have a lot of events doing that. So personally if I want something to follow someone I’d use a loop without delay but for checking health or a score I’d probably do the delay of 0.1 seconds. Hope that helps a bit!
Great video and videos! Learned a lot from shooting range tutorials and more. Do you know if there are tutorials that explain all the script commands? I’ve been having to gather a little info on each command with each specific video you post, but only if they are relevant to specific video. It would be nice if there was a video that roughly explained every command and a quick example how they’re used. Thank you! Keep up the good work
Thank you very much! Yeah to be honestly there isn’t a lot of written material on all the commands and I’m still figuring out a lot of them myself. Teaching ppl how to use them by making something with them is the best way I can think of spreading that info. Maybe a video that goes through the basic function of each can be beneficial. Thanks!
Love these tutorials! I’m stuck trying to figure out how to get hits from the projectile launcher to register as a score (persistent player variable). Have a functional scoreboard but it’s not registering the hits. Can you include this in a future video? Thanks!!
Ahhhh you’re getting ahead of me lol I will be showing you exactly how to do this in the 3rd episode of this series. Thanks so much for the nice comment 😊
Start by using the when “projectile hit player” command on the launcher script and use the player part of that command to set that players score like the alter. Hopefully that gets you started!
Nice tutorial , how ever we set hp on people who join , but how do you make people lose hp when getting shot by gun. Do I have to make a new script or add a few more lines to it ?
That’s a bit much for a RUclips comment but I want to make a tutorial on deflection shields and a lot of that script applies to what you’re looking for I believe. I got a lot I want to show and little spare time lol
can you BLESS ME WITH YOUR KNOWLEDGE!!! i need to create a playable arcade machine using UCE files? sound like something you can help with! thank you for the amazing content it is so helpful
I'm trying to figure out how to send a delayed event so that a sound bite starts to play after 30 seconds so I can stack sound bites so one will start playing when the other ends. Any advice would be appreciated! Thanks. Subbed
Your in luck there is literally a command of “send event with delay”. Check out my video on scripting events. I utilize it there. Thanks for the sub! Glad to have you!
Hi @JackaldudeGaming, I would really appreciate if you could make a video on how to make a magnum, I made my own made a barrel with 6 bullets in it, I would realy like to know how to make a bullet dissappear when I shout, make the barel rotate and open to reload when their is no more amo. I hope you can help me with this.
@@JackaldudeVR If player persistence is saved, a small inventory could be done via a scripted matrix of some sort. Is data saved once a player leaves a world and comes back? I.e. If I exit a world with 2 of 3 health will I return with 2 of 3 health? If not, then an inventory would be a short term thing and less of an incentive to continue a journey in an rpg environment I think. I've only just begun looking at the HWorld stuff. I hope it's continues to evolve.
You are correct! In our case here we set health back to 3 when the player renters the world but if we didn’t that value would be save between sessions. Brainstorming but if you picked up a sword you could set that players persistent variable “has sword” to 1. Then when player enter world if “has sword” equals one you could have the sword spawn in front of them or something.
@@JackaldudeVR hmm I imagine that example might be troublesome as if that player didn't pick the sword up then any sort of game economy might be impacted? I.e. multi spawning items. That's why some sort of "pocket/backpack/belt" inventory would probably be best. I'm thinking something like A Township Take as an example.
@@AcidRaine42 it could happen with tagged objects. Unfortunately tagged object is also how you would make collision effects but unfortunately you can only give each object one tag.
Hi, you are the one!!, love all your tips, i´m creattinf worlds in spanish, becuase there is 0 ways to find tutos: I will ask you one SCRIPT, when you enter in a small zone, you became a rocket...!! so jump far up... can you help me with that?. Thank youuu
Followed this to a T, and it doesn't work for me , nothing happens. I left world multiple times as well to see if it was glitched, still won't let me , any tips?
They next video in the series has a better way to have the bar follow you as horizon came out with new commands. I talk about attaching the bar to a player instead of having it follow you.
Make sure the health values are correct for each puck and make sure the hpcheck is looping. Also make sure the correct objects are attached to there correct variables
Amazing. Perfect guide-through. I couldn't ask for more.
Very helpful! This got me over a roadblock I was having. Ive been able to script events, projectiles, etc, but didn't get how to send events from one script to an object attached to another script. I thought each affected object had to be running the same script. Now, I think I can finally implement scoreboards to my Tie Fighter and Shrink Ray games! Just need to figure out a bit more about persistent variables for multiple players. Looking forward to the next video.
Awesome I’m so glad this video helped you with something you were stuck on! That’s exactly why I make these. Thanks for taking the time to comment!
YES I’ve been waiting, I LOVE your tutorials. They are perfect pace, and new user friendly. THANK YOU
Thanks so much! That’s exactly what I’m going for. Glad I could help
I designed these grenades and I wanted to know how to script a grenade That also spawns back after the explosion
Best video on player persistent variables I've seen, so many use cases for this.
If you set the event loop like you did, does that mean it's running every .01 seconds?
Will that eat up capacity quickly if you had a few of these running? Would sending event with 0.1 sec delay noticably save capacity? Thanks
Thanks so much. So setting it up the way I did has the event run every frame. The quest 2 runs anywhere from 90-120 frames per second so that many times per sec. Which can use up capacity if you have a lot of events doing that.
So personally if I want something to follow someone I’d use a loop without delay but for checking health or a score I’d probably do the delay of 0.1 seconds. Hope that helps a bit!
Great tuto thx👍👍👍
No problem. I hope it helped!
Your tutorials are a life saver ! Is there anyway to make a grabbable take health away from a player when hit ? Thanks in advance !
Great video and videos! Learned a lot from shooting range tutorials and more. Do you know if there are tutorials that explain all the script commands? I’ve been having to gather a little info on each command with each specific video you post, but only if they are relevant to specific video. It would be nice if there was a video that roughly explained every command and a quick example how they’re used. Thank you! Keep up the good work
Thank you very much! Yeah to be honestly there isn’t a lot of written material on all the commands and I’m still figuring out a lot of them myself. Teaching ppl how to use them by making something with them is the best way I can think of spreading that info. Maybe a video that goes through the basic function of each can be beneficial. Thanks!
Script a pair of sneakers that walk when you move😁 & also add led lights to the sneakers that light up the sole when it touches the floor..
Thats actually a super fun idea! I’m adding that to the list. Thanks for the suggestion!
@@JackaldudeVR if it works out you might be onto a winner, a metaverse sneaker store. good luck.. looking forward to your sneaker video in the future.
Thanks dawg
Of course! Hope it helps!
Love these tutorials! I’m stuck trying to figure out how to get hits from the projectile launcher to register as a score (persistent player variable). Have a functional scoreboard but it’s not registering the hits. Can you include this in a future video? Thanks!!
Ahhhh you’re getting ahead of me lol I will be showing you exactly how to do this in the 3rd episode of this series. Thanks so much for the nice comment 😊
@@JackaldudeVR thank you, I feel like I’ve tried everything 😅
Start by using the when “projectile hit player” command on the launcher script and use the player part of that command to set that players score like the alter. Hopefully that gets you started!
Nice tutorial , how ever we set hp on people who join , but how do you make people lose hp when getting shot by gun. Do I have to make a new script or add a few more lines to it ?
I will show this later in the series but basically you use the pain alter script line with “when projectile collides with player”.
Hey Tony, could you do a video on how to keep score while shooting at moving objects and adding those scores to a leaderboard?
That sounds like that might be more than one video but a great idea! Thanks for the suggestion!
Just found your channel! How would you go about making an object locks on and fires at the closest player?
That’s a bit much for a RUclips comment but I want to make a tutorial on deflection shields and a lot of that script applies to what you’re looking for I believe. I got a lot I want to show and little spare time lol
can you BLESS ME WITH YOUR KNOWLEDGE!!! i need to create a playable arcade machine using UCE files? sound like something you can help with! thank you for the amazing content it is so helpful
Can’t say I’ve messed around with UCE files but horizon is pretty linear in the fact you really can’t bring anything made outside of horizon in.
I'm trying to figure out how to send a delayed event so that a sound bite starts to play after 30 seconds so I can stack sound bites so one will start playing when the other ends. Any advice would be appreciated! Thanks. Subbed
Your in luck there is literally a command of “send event with delay”. Check out my video on scripting events. I utilize it there. Thanks for the sub! Glad to have you!
How do you attach the health bar to like a vest or piece of wearable clothing?
The next video in that series goes over just how to do that. Hope it helps!
Scripting Health Bars for Multiple Players in Horizon Worlds | Tutorial Series Part 3
ruclips.net/video/Puw4wwLLKl4/видео.html
Thank you for responding! I have soooooo many questions about scripting. I do hope you can help!
So any idea how to have player health with 4 players?
Yeah! We will go over that in the next video. It got delayed a bit but it should be out this week!
Hi @JackaldudeGaming, I would really appreciate if you could make a video on how to make a magnum, I made my own made a barrel with 6 bullets in it, I would realy like to know how to make a bullet dissappear when I shout, make the barel rotate and open to reload when their is no more amo. I hope you can help me with this.
I do want to do a more extensive reloading and weapon tutorial so keep an eye out for that!
Has anyone worked on an inventory system yet? For an rpg game it would be pretty important.
Hmmm that could get a little complicated but I’ll look into it! Great suggestion!
@@JackaldudeVR If player persistence is saved, a small inventory could be done via a scripted matrix of some sort. Is data saved once a player leaves a world and comes back? I.e. If I exit a world with 2 of 3 health will I return with 2 of 3 health? If not, then an inventory would be a short term thing and less of an incentive to continue a journey in an rpg environment I think. I've only just begun looking at the HWorld stuff. I hope it's continues to evolve.
You are correct! In our case here we set health back to 3 when the player renters the world but if we didn’t that value would be save between sessions. Brainstorming but if you picked up a sword you could set that players persistent variable “has sword” to 1. Then when player enter world if “has sword” equals one you could have the sword spawn in front of them or something.
@@JackaldudeVR hmm I imagine that example might be troublesome as if that player didn't pick the sword up then any sort of game economy might be impacted? I.e. multi spawning items. That's why some sort of "pocket/backpack/belt" inventory would probably be best. I'm thinking something like A Township Take as an example.
@@AcidRaine42 it could happen with tagged objects. Unfortunately tagged object is also how you would make collision effects but unfortunately you can only give each object one tag.
Hi, you are the one!!, love all your tips, i´m creattinf worlds in spanish, becuase there is 0 ways to find tutos: I will ask you one SCRIPT, when you enter in a small zone, you became a rocket...!! so jump far up... can you help me with that?. Thank youuu
If you haven’t yet be sure to check out Vidyuu tutoriales en espanol! They are making tutorials in Spanish there! Hope that helpsb
@@JackaldudeVR thank you. i like your work, and how you do it. Easy, not get lost on the translate. But i will check it out, thank you
this is it yeHh
Followed this to a T, and it doesn't work for me , nothing happens. I left world multiple times as well to see if it was glitched, still won't let me , any tips?
They next video in the series has a better way to have the bar follow you as horizon came out with new commands. I talk about attaching the bar to a player instead of having it follow you.
I don't know how I missed this , thankyou so much !
When I do the pain test it doesn't take away a puck :/, what could it be?
Make sure the health values are correct for each puck and make sure the hpcheck is looping. Also make sure the correct objects are attached to there correct variables
@@JackaldudeVR MISSION ACHIEVED, THANKS MAN
I hate horizon cause all the tutorials are nauseating
Sorry about that I’m an animated talker but I’m working on keeping things steady. Hopefully in the future there will be a better way to record these.