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"

Help with construction script for Level Design

Hello UE4 community

I created an actor and used the component editor to add a skeletal mesh to it. The animation doesnt require a blueprint so I set it to animation asset in the component editor. I see there are two fields, one selects the animation and there is another that controls rate or speed of the animation in the component editor. Is there a way to expose these fields using construction script so i may use them for level design in the main editor window. I am able to change mesh and toggle visibility via construction script but I could use some help changing animation and speed. If this is possible, any help would be appreciated.

Edit: here are some screenshots of what I am trying to accomplish to better explain myself. alt text

Thanks

Product Version: Not Selected
Tags:
more ▼

asked May 30 '14 at 08:39 AM in Blueprint Scripting

avatar image

Isaac Nichols
363 23 23 29

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Not sure if you've figured this out yet or not, but in my own graph there is a Timeline node. In that node there is a NewTime plug. I promoted that to a variable and made it editable. I can change the speed of my transform animation by changing it, though the values are rather high to actually see the difference with what I'm doing.

I suppose it depends on what sort of animation your using, but with animation there is always time. Find what controls the timing of the animation and make that editable and you should be set.

more ▼

answered Jun 15 '14 at 02:36 AM

avatar image

tooscary
6 1

avatar image Isaac Nichols Jun 15 '14 at 03:13 AM

Thanks for responding, I ended up using a timeline to move my actor in a separate blueprint. I may revisit the idea of using a skeleton in one portion of my game because the moving object actor is attached to another actor which is manipulated by the player using physics. Thanks again.

This is how I did it in case anyone wants to know how. alt text

alt text

construct1.jpg (164.9 kB)
construct2.jpg (176.2 kB)
(comments are locked)
10|2000 characters needed characters left
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