Crafting/Inventory System Tutorial in Unreal Engine - #2

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

finally a ue4 CODING tutorial, thank you very much :D
Everybody else on youtube is just using this spaghetti mess lol

thefridge
Автор

The line trace was too short for me with the number given to the video (300 i think). it didn't hit anything and had to up it.

hapticsvideodrome
Автор

If anyone is getting crash while pressing E (interact) then just remove DestroyActor Node from the pickup blueprint and valla it will not crash (Given you haven't made mistake in code)

KUNALSINGH-zksu
Автор

When i am using TArray in player controller header file I get error
type must be a UCLASS, USTRUCT or UENUM...what's this and how you didn't get this error...I included header file like you did in .h and .cpp file (both place)

KUNALSINGH-zksu
Автор

Isn't it way too resource-hungry to do line traces on each tick?

mku
Автор

It says AGamePlayerController must be a class or namespace and that CurrentInteractable and InputComponent are undefined. I've followed this tutorial a few times, could it be that its my first person character again? I'd be grateful for any help, Thanks.

scottdarcy
Автор

Good Morning, Please can you help, I've been trying to complete this video but i keep getting the follow error, and can't seem to find what i've done wrong
Invalid argument(s) passed to FString::Printf
non-portable use of class 'FString' as an argument to a variadic function

Please can you help

adamcole
Автор

I got this error how to fix it
Warning: UDataTable::FindRow : '' requested row '1' not in DataTable '/Game/Data/ItemDB.ItemDB'.

mahmudulhassan
Автор

JESUS LORD! if you strggling or dont want to struggle with the fucking GetController() CAST, DONT FORGET TO SET YOUR CUSTOM CONTROLLER IN THE BLUEPRINT.. it can take a lot of time for you to get to it!!!

arthurmonteiro
Автор

I think I am missing something very simple. Whenever I create a C++ Class, it doesn't have nearly as much code as yours does. I believe that I'm not creating a class with the default information, but I don't know what I should have done. For example the Character Class doesn't have a camera rig or any of the directional controls. Likewise, the Pickup Actor doesn't have an inherited nor the "intractable" option in the details. Sorry to be the ultimate noob, but I can't progress in this tutorial without figuring it out. :)

Thank you!

danielmorley
Автор

When I hit E when not in range/looking at a pickup UE crashes. Something is wrong with your code Reuben?

jasonx
Автор

Is it Normal? I did what you did at the end: I restarted ue4 but now when i press to "E", ue4 crash. I dont know what to do. I don't know what's wrong. I tried to figure out but i didn't find anything. Can you help? Thank you.

spookybooh
Автор

Did any one have any problems with the function getusetext ? I keep getting blueprint errors. It is in the interactable.h file
the error states Error Blueprint Runtime Error: Accessed None trying to read property CurrentInteractable from function: 'GetPickupText' from node: Print String in graph: GetPickupText in object: WB_Ingame with description: Accessed None trying to read property CurrentInteractable

dalehegbom