Retrieving values from Enumerations
Hello everyone. Currently I’m working on an inventory system. I have one base actor bp and 3 child of it to create 3 different type items. Like weapons, equipments and consumables. All of these has their own enums. Also i created 1 master item info enum. I’m creating the weapons from master weapon bp for example. Right now i can pick items from ground but the problem is i couldn’t get specific ( from weapon enum, equipment enum etc.) values of their names. You can check the text binding bp from at the end of the post. Any suggestion will be helpfull. Dont know what should i put the empty node i think i need to use Cast to but it wants a return value as object.
Edit: I’m using structures to get them ofcourse. Totally forgot that
Enumerator variables have a function that works on them to convert their key name to a string or text. Sorry I can't remember the name of the node right now, but I use it to display network errors to the user if they lose connection to the server (servertravelerror is an enum).
Try dragging a wire from the enum and type "string", "name", or "text" in the context menu. It'll probably be one of those.
answered Jun 18 '18 at 07:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here