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"

Complex Enemy Movement

Hi

I am trying to implement an enemy and dont really have any idea where to start as this enemy is quite different to a normal bad guy.

I am trying to implement an enemy that has multiple components placed beind it that act both as an individual and as a unit. The idea is to have a leader (head) that moves around the map with spinal bones that follw the head wherever it may go. If the leader (head) dies then the rest of the bones carry on as the 2nd bone immedietly becomes the leader. Each link in the chain is supposed to follow the one infront of regardless of which links the player kills the enemy still acts as a unit

This is difficult as I dont want all of the bones to just follow the leader as when the leader stops they will all be gathered around him. Instead I want them to all be walking in a line.. They need to follow the member infront of them.

I have thought about using inheritence to do this but Im not too good at it and whenever I start making a blueprint before scrapping it and coming up with another method. Im not sure how Im to approach this.

The best example of this is probably the old Galaga games.

Product Version: Not Selected
Tags:
more ▼

asked May 23 '16 at 02:38 PM in Blueprint Scripting

avatar image

Braff_Zacklyn
6

(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