User Tag List

Results 1 to 3 of 3

Thread: Enemy kickback issue

  1. #1
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Enemy kickback issue

    Hey guys, i've got my enemy kickback working great, i have a group activate(im using the PMO btw) and when the player lands on the ground, the group deactivates. This probably sounds simple, but i just can't get it figured out lol. How would i go about having the player flash for 1 to 2 seconds AFTER the pain group is deactivated? i've tried the simple and obvious and had no luck

    EDIT: Also, when i DO get the flash effect to take it just makes the player invisible, it doesnt flash the object itself...

    EDIT 2 lol: Never mind guys, i figured it out. I swear, i'll be stumped on something and as SOON as i post a question about it (at least most of the time lol) i figure it out! Here's what i did if anyone else has this issue:

    Enemy collides with Player = Activate group "Pain"

    (Group Pain) - contains all my kickback code but i added a group called "Pain Flash", set "X group "Pain Flash" is activated (the x being the group being negated) on all events in the Pain group.

    Pain Flash-
    On group activation "Pain Flash" = flash object 00.01

    Player is invisible
    Every 00.02 secs = (Player) Reappear - this was the trick

    Group "Pain Flash" is activated
    Every 1.50 = Deactivate "Pain Flash"

    That last event can be altered to any time you need to adjust it to, that 1.5 secs works for me on the character. I hope this helps someone out

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'd just need to activate another group, eg EndFlash, and set the timer to zero when you deactivate the pain group.
    Then in EndFlash group, have a condition something like this:
    Timer: after 2 seconds
    set object to visible
    Deactivate GroupEndFlash

    NB The flash action makes an object alternate between visible and invisible - but if you set it to flash every game loop, you might find it just makes the object invisible.
    Hope that helps!

  3. #3
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AyreGuitar View Post
    You'd just need to activate another group, eg EndFlash, and set the timer to zero when you deactivate the pain group.
    Then in EndFlash group, have a condition something like this:
    Timer: after 2 seconds
    set object to visible
    Deactivate GroupEndFlash

    NB The flash action makes an object alternate between visible and invisible - but if you set it to flash every game loop, you might find it just makes the object invisible.
    Hope that helps!
    Thanks dude, check my edit, got it figured out i swear it must be the good juju that comes from posting problems on here that helps me figure things out on my own lmao! Thanks for the tips dude

Similar Threads

  1. Strange thing: If Enemy Alterable Value A = Enemy Alterable Value B
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 26th March 2012, 05:29 PM
  2. Kickback problem
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th January 2012, 11:46 PM
  3. kickback problem
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th April 2011, 12:43 AM
  4. Enemy Scaling Issue
    By Squibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th October 2010, 01:34 AM
  5. Issue with enemy AI
    By camelman in forum File Archive
    Replies: 4
    Last Post: 15th January 2010, 07:08 PM

Posting Permissions

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