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 make it so i can place vectors/objects on the ground where i point on the screen, and they have a ghost box around them, to know where u place them.

How do i make it so i can place vectors/objects on the ground where i point on the screen, and they have a ghost box around them, to know where u place them. I want to make them able to damage "Enemies" if they get too close and make the Enemies attack them. Think a bit like a Spike Wall.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 31 '15 at 12:30 PM in Blueprint Scripting

avatar image

Seba0702
3 2 4

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

1 answer: sort voted first

This can and does get very complicated. I'm doing something similar in my project (RTs similar to Tropico.) the short answer is to use the node "get location under cursor" to place the mesh where you want. Obviously you need a UI to select a building or mesh and spawn it at your cursor position first. As far as the "ghost" is concerned you only need to create a special mesh, or what I did was just use the glass material in my mesh then when "construction is complete" I change the material to the desired one. It's a very long and relatively intermediate process and will be hard to show you exact process here. While this may not help you now, I do plan on starting a tutorial series on my channel in the next couple weeks that will go over this exact thing plus some.

Sorry for generic answer but best I can do with such a limited space. Hope this helps though.

more ▼

answered Jul 31 '15 at 12:42 PM

avatar image

jtsmith
1.4k 70 29 92

avatar image Seba0702 Jul 31 '15 at 12:58 PM

Thanks, what is your youtube? Can u link

avatar image jtsmith Jul 31 '15 at 01:03 PM

youtube.com/shortbustrip

It's all just Minecraft with some COD mixed in there but as I said I'll be doing a long tutorial series on making my current RTS project which will include your placement and ghost question. Hope to see you there when I start it! Should only be within next couple weeks (after kids go back to school.)

avatar image Seba0702 Jul 31 '15 at 01:51 PM

i subscribed thanks, i am really looking forward to it :D (Plz make it newbie friendly, xD i am not the best YET :D )

avatar image jtsmith Aug 01 '15 at 12:08 AM

I will do what I can. I'm generally pretty easy to understand and I try to speak clear and concise. I'm not real advanced yet either but have made pretty good progress on my project and have learned a lot along the way. There's not many tutorials out there on that particular subject which is why I've decided to start the series. One thing about the upcoming series is that while I will try and make it simple and easy to follow, I am going to assume that the audience has some basic understanding on how to use and manipulate UE4 as well as some understanding of basic terminology. Learning the basics is a whole other topic and is covered rather extensively by many others. However, I will be available to help answer any questions along the way; I pride myself in being prompt and attentive to my audience! Take care!

(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