Pick up, Teleport and throw

● ARCHIVED · READ-ONLY
Started by RolandGAMES 3 posts View original ↗
  1. Soo... this might be a little bit confusing but I hope someone could help me with this!

    I am working on some puzzles for my game, which uses MOGhunters Pickup and Throw plugin. It's working well so far, but there is another feature in my game I want to have.

    One of the playable characters can teleport between some separated areas of the map (usually four: up, down, left, right). I established this feature through a common event where it checks in which direction the player is looking and teleporting it in this direction.

    Now I want the player to move something to a different area of the map. So the player needs to pick the event up (let's say a ball) teleport maybe up and then throw it onto it's destination. The problem is that the event gets stuck on the players head and he can't throw it anymore.

    I already made a version where the player cant teleport with a item beeing picked up for the case that there is no solution, but I'd really like it to work. I tried to read? the plugin but since I have very little experience in programming I don't get anything.

    Sorry if my english is bad.
  2. EDIT: For future generations I found a workaround. It's not pretty but it works.

    Problem:
    After "Transfer Player" you can no longer throw pickable that you have above your head. But you can pick another pickable that "resets" your ability to throw. What happens after that is that you throw both pickables at the same time.

    Solution:
    1) Make your map 1 tile wider and 1 tile higher
    2) Create that extra tiles/borders walkable (so the pickables can be thrown at it)
    3) Normal pickable: Trigger: Action Button; Comment: throw : [number];
    Solution pickables: Trigger: Player Touch; Comment: throw : [height or width (whichever is higher) ]
    // That will ensure that no matter where you are, the solution pickable will be thrown on those extra tiles
    4) Create Solution Pickables on the other side of your "Transfer Player" locations so the Player always touches them after the Transfer (and resets his throw ability) (make them Approach Player at high speed)
    5) If you can come back through the teleport and walk the same path again with normal pickable, add Set Event Location: Solution pickable to it's original place after (re-entering) Transfering Player.


    ------------------------------------------------------------------
    Hi. Did you eventually find a solution?
    I'm facing exactly same problem.