User Tag List

Results 1 to 2 of 2

Thread: Selecting random movements within a behaviour

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selecting random movements within a behaviour

    Hi, Its been a long time since I last posted on these forums (the old forums) 8 years infact.

    I'm getting stuck with trying to select random movements,

    I have an enemy which is created outside the frame. The enemy selects a movement out of 3 possible (all path) movements. Then carries out that movement onto the screen , eg 1 up , 2 down , 3 straight. However, because you cannot select the movement name in the enemy behaviour event editor, it seems to ignore the event. For information, when I select next movement it seems to work.

    Every 3 seconds > Create enemy at position (x,y) + Set counter to random (3)

    When enemy is outside frame + Counter = 1 + Event runs only when event loops > Select movement 3 (want to select movement name here - movement number doesn't seem to work) + Start

    I've tried searching for a relevant post but could only find this slightly similar,
    http://community.clickteam.com/showthread.php?t=71300

    Could you please suggest a way to achieve this?

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah solved it.
    1. Need to set the position of enemy in x or y instead of using out of play area condition.
    2. Write the "When enemy is outside frame + Counter = 1 + Event runs only when event loops > Select movement 3 (want to select movement name here - movement number doesn't seem to work) + Start" part into the level event editor not the behaviour.

Similar Threads

  1. Behaviour of the ini object?
    By seripa in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 20th January 2012, 09:26 AM
  2. Random and MT Random strange behaviour
    By crusher in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 8th October 2011, 02:32 PM
  3. Behaviour marked Objects and deleting Behaviour
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th January 2007, 10:14 AM
  4. How do I make random movements?
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th December 2006, 10:48 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •