x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

2D Sidescroller item pickup / drop issues

I'm trying to create sidescroller game with the ability to pickup items / drop them. (Attach to my character socket / remove from socket and spawn on current location)

I have tried several ways but they all lead to either not working or working but bringing up errors. Current way is also giving me bunch of errors.

I'm trying to figure out what I'm doing wrong

Here are my blueprints

From Level blueprint alt text alt text

From player character alt text alt text alt text alt text Errors: alt text

Product Version: UE 4.10
Tags:
more ▼

asked May 01 '16 at 12:08 AM in Blueprint Scripting

avatar image

SkillN
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Those Accessed None's are telling you that it's returning null. So first, you need to make sure that when you are casting to pChar, that it's returning True. If that's where the states are coming from. Figure out what is actually returning, by using Get Object Name. If anything. If nothing is being returned, which it seems, then you need to figure out how to get what you want to return something.

I am pretty sure some of those without "false" exec, are a problem also. You need a way to figure out how to debug your stuff better, using either "print strings" stating "so and so, returned false at this location" or just by using IsValid nodes appropriately, or have a look at this:

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Debugging/

more ▼

answered May 01 '16 at 12:35 AM

avatar image

VictorBurgos
2.4k 61 27 113

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question