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"

How do I drawHUD on on camera actor for top down game

I have played around with Draw HUD for many hours and am not able to get it to show at all. I am thinking that it may because I am using a camera actor for a top down shooter. the reason I am using a camera actor and not a camera attached to player is because I want it to be static until I hit a trigger box.

so far I have attempted to draw HUD for a mouse pointer, then to just put text on the screen to see if it is even working, with no avail.

Product Version: Not Selected
Tags:
more ▼

asked May 24 '14 at 08:19 AM in Blueprint Scripting

avatar image

superprez8
8 6 8 9

avatar image Shadowriver May 24 '14 at 08:41 AM

Did you set your hud class in gamemode class (class = blueprint)

avatar image superprez8 May 25 '14 at 01:26 AM

yes I did. I have followed a couple of different tutorials to see if there was anything I was missing, but I still cant get anything to show.

avatar image DJMidKnight May 25 '14 at 02:52 AM

What is your camera actor derived from?

How are you giving the HUD ownership?

avatar image superprez8 May 25 '14 at 06:11 AM

I pulled the camera down from the "basic" tab.

In my Level Blueprint I have this set up to start the game with the POV from the camera.

alt text

I am very new at this and not sure what I am missing.

2.png (328.0 kB)
avatar image DJMidKnight May 25 '14 at 06:00 PM

have you looked at the strategy example or the memory game?

if you still don't see how its done from those let me know and I'll help you get it sorted out

avatar image superprez8 Jun 18 '14 at 06:42 PM

I almost have it working. with this setup the zombies will wonder around thanks to the Random Stream. but now my problem is that every time I spawn a zombie in a zone, they all have the same wander vectors. I want to spawn a lot in and have them wand in all directions. so I need the seed to change each time a zombie is spawned.

alt text

3.png (429.0 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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