Respawn Action in the same scene (BB2)

Discussion in 'How Can I...?' started by EZKad, Apr 29, 2016.

  1. EZKad

    EZKad Avid Boxer

    Joined:
    Apr 26, 2016
    Messages:
    157
    Likes Received:
    155
    Hi,
    I'm new to Buildbox 2 and need some help.

    is there a way to respawn an action just after the character take it ?

    What I'm mainly trying to do is to change gameplay settings (gravity) so player go from point A to point B
    at point B, the player take an action which will switch the gravity so the player direction will change from B to A.
    this works fine.

    now I want that the player have the possibility to switch gravity indefinitely between A and B, until he decide to "leave" the reagion.

    the only way I found to do it is by using actions, but when the player acquire the action, it vanish forever.
     
  2. brakewind723

    brakewind723 Serious Boxer

    Joined:
    Oct 3, 2015
    Messages:
    583
    Likes Received:
    506
    Drag an action into the game field. Copy it then delete it. Use a random invisible object and paste the action into its animation editor (position it where you want it). Set the invisible object to spawn at a rate that you see fit.
     
    Pandemonium and EZKad like this.
  3. EZKad

    EZKad Avid Boxer

    Joined:
    Apr 26, 2016
    Messages:
    157
    Likes Received:
    155
    Awesome :)
    the I was now aware about spawner object, thank you so much !
     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    whoah... I didn't know you could copy from the workspace into the animation editor... nice one!
     
  5. miguelnievas

    miguelnievas Boxer

    Joined:
    Apr 22, 2016
    Messages:
    45
    Likes Received:
    24
  6. JustWatchApps

    JustWatchApps Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    315
    Likes Received:
    145
    Dude! Making their software do stuff they don't even know it does... SWEET!
    Hope this works in BB1 also!
     
  7. clin407

    clin407 Boxer

    Joined:
    May 9, 2016
    Messages:
    43
    Likes Received:
    14
    When I have an invisible object, I don't see the ability to have an animation on it. I assume invisible object = object with no opacity but how do I drag the action into its animation editor?
     

Share This Page