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"

Design and pointer issues

This is mostly a design question as at the moment I have no idea where to go at this point. I am creating a system that will produce npcs and creatures (effectively the same thing for purposes of my current issue) with this system I have a recipe which currently contains a pointer to the finished product of the recipe. I realized very quickly that this causes a lot of issues and am now trying to figure out how to best refactor or progress in a different avenue which ever makes the system better. The point of the system is o be able to for example take 5 pieces of iron make them into a sword take the sword to a location give it to a soldier and you have a swordsman. I have the resource system working though depending on changes to the npc portion I may change how that section is working. I also have the ability to transfer the resources to new locations. The issue comes in when I start trying to spawn actors based on the same pointer resulting in nothing really happening. I need my npcs to be individual instances of the idea but I need to be able to say this location makes swordsmen, this one makes blacksmiths, and this one makes basic villagers. Any questions or comments are welcome and advice is currently in high demand. Thanks in advance

Product Version: UE 4.13
more ▼

asked Jan 30 '17 at 11:52 PM in Using UE4

avatar image

6 2 3 4

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

1 answer: sort voted first

try to make a boolean statment on the soldger and when a sword is created just set the boolean to true and make it to check it and set vissabilty of the sword

more ▼

answered Jan 31 '17 at 01:45 PM

avatar image

141 33 32 37

(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