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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Using Level Sequence on Dynamically spawned Actor

Hi all, I want to animate the material property of an actor which is spawned after BeginPlayEvent based on the Pawn Location. To use Level Sequence, The actor has to be placed in the scene otherwise if i drag drop the actor Blueprint inside the Level Sequence, it spawns the actor in the scene in the Editor before begin Play. How to access the spawned actor attributes (n this case material property) inside the sequencer. Please help.

Product Version: UE 4.14
Tags:
more ▼

asked Apr 03 '17 at 09:48 AM in Blueprint Scripting

avatar image

joblessdesigner
1 1 3 4

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

1 answer: sort voted first

You might try the SetBinding node on the LevelSequenceActor. You can use that to assign a spawned actor to a track in a level sequence. In this example, I've assigned a spawned actor to the "Sphere" track in the level sequence.

This feature is available in 4.15, so you'd have to upgrade from 4.14.

alt text

more ▼

answered Apr 10 '17 at 06:07 PM

avatar image

Max.Chen STAFF
2.3k 28 14 69

avatar image Abaris919 Jul 04 '17 at 09:37 AM

Thanks, this brought me (googling for a similar problem) on the right track ;)

avatar image joblessdesigner Oct 05 '17 at 03:02 AM

Sorry for late reply. Thanks for the reply

avatar image herobank110 Jan 23 '18 at 06:15 PM

How do you create a track in the level sequence if you don't have it in the level though?

avatar image guitarguy109 Jan 24 '18 at 12:13 PM

You originally place it in the level and then convert it to a 'spawnable' actor which removes it from the level and spawns it only when the sequence is played.

avatar image TigerFish89 Aug 30 '18 at 01:29 AM

Great answer!. But I think that way depend on level. I want to make play player animation in sequence independent level. So I looking for api. API use GUID. How can I get GUID from sequence using name. As you know, user only can see track's name in editor, not guid. Can I make that using c++ code?

(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