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"

Spawning objects to landscape

Hey everyone, I have a tree that respawns after being cut down but the tree respawns up in the air. Does anyone know how to make it spawn onto the landscape, even if on a slant?? Also I was trying to set a delay after destroying the tree to spawn the actor again using spawn from class but the delay does not work at all. This has been annoying me all day.

Any help would be great!

Product Version: Not Selected
Tags:
more ▼

asked Nov 12 '14 at 05:26 AM in Blueprint Scripting

avatar image

HotFuzz
3 2 3 4

avatar image Mortusnyte Nov 12 '14 at 05:47 AM

Can you post a picture of your blueprints for this?

bp1.jpg (416.6 kB)
bp2.jpg (441.7 kB)
avatar image HotFuzz Nov 12 '14 at 06:15 AM

alt text

alt text

bp1.jpg (416.6 kB)
bp2.jpg (441.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

if the original tree is in the right position, then before you destroy it, copy its transform into a variable that you can use when you want to respawn it. you probably need the variable to exist outside of the tree blueprint, so it doesn't get destroyed with the tree, so maybe you should make a separate blueprint called treeManager, that holds variables for all the trees.

more ▼

answered Nov 12 '14 at 11:35 AM

avatar image

ScottSpadea
9.6k 320 205 450

(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