i need this particular function plz anybody know where is, the “set rarity” .
for ue 4.27
any feedback appreciated
i need this particular function plz anybody know where is, the “set rarity” .
for ue 4.27
any feedback appreciated
Hey @locateli!
I don’t know if I was clear in the last post, there is no “Set Rarity” function built into Unreal Engine. You have to create something like that yourself. Here’s something to watch to kind of get an idea of what to do, I don’t know what you’re looking for specifically but regarding the last post, this is a tutorial that should help.
Disclaimer: This link is not affiliated with Epic Games, Unreal Engine, or their partners.
ty i still cant find that variable, what is the name for it, i search set and their is hundreds to look through
the video tutorial really complicated for me, slight beginner,
i have some ai working only idle spawn locations though
No worries @locateli
You have to create it. I really suggest working through some tutorials before you start getting too in-depth! And keep learning new things even once you think you’ve got a handle on it. Believe me, I still learn something new in UE5 every day, no one person can quite know it all like the back of their hand! It’s great to see you reaching out on the forums early in your journey!
If you can manage running UE 5, please give this a shot! It covers so many fundamental bases you’ll need to know!
hey i managed create the print after like 1 hour or so… ai doesnt spawn though…
any idea why it not work?
please this photo shows project
@locateli The issue is there is no “SpawnActor” node, you’re only setting an integer.
All that aside, if you have problems communicating in English, please don’t hesitate to make another post in your native language! We have people from all around the world in these forums!
Aside from that, I strongly urge you to divert towards the basic learning tutorials!
ty yea my english okay
i tried add the following and only errors resulted
what could be missing from the print, i seen this before “spawn actor and choose which one”
this one not working though
No worries! You need to put in a location into the “Spawn Transform” pin. As this is the spawner, you can “Get Transform” with Self as the target and use that!
hi,
your error log tells you whats wrong ![]()
you have to plug something in the spawn transform or split the struct then it compiles
for rarity you can make your own item class (abstract) and make children from it… then you can easily implement a rarity variable in the base item which every child will inherit from… then you must choose if you set if based on a dice roll or yourself ![]()
hope this helps you,
cheers ![]()