Announcement

Collapse
No announcement yet.

After Pickup items enemy will appear

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    After Pickup items enemy will appear

    Hi regarding this link
    https://answers.unrealengine.com/que...ll-appear.html
    I tried since 5 days no one give me answer , and i think if i post here , maybe they will help me.
    Here my problem, When player picked up item ( Note ) after read it the player pressed any button to finish read and after that the enemy will appear behind player.
    Thanks need your support
    Last edited by TakeTimeGames; 10-25-2015, 06:40 AM.
    Games developer ( Mystery : Curiosity and seek the truth )
    Planing to Remake Mystery with new story and make it better and better

    #2
    Do you want an enemy to spawn after the Player finishes reading the Note he picked up? If so, after the Player presses any button and you remove the Note from the Viewport, you can use the "spawn actor" node. The actor class should be the Enemy blueprint class. For its transform, take your player's forward vector, multiply it by some negative number(say 400), add that to the player's world location, and give that location to the Spawned enemy.

    Click image for larger version

Name:	spawn actor behind player.png
Views:	1
Size:	138.7 KB
ID:	1091854

    Comment


      #3
      Hey there,

      where exactly is your problem?

      When player picked up item ( Note ) after read it the player pressed any button to finish read and after that the enemy will appear behind player.
      this really sounds like a way to go in pseudo-code.

      But i dont know where to start to help you, so please answer the following:

      Do you already have a pickup system?

      Do you know how to call functions between blueprints?

      Do you know how to spawn actors?

      cheers
      Live long and prosper.

      Comment


        #4
        Originally posted by Wallhalla View Post
        Hey there,

        where exactly is your problem?



        this really sounds like a way to go in pseudo-code.

        But i dont know where to start to help you, so please answer the following:

        Do you already have a pickup system?

        Do you know how to call functions between blueprints?

        Do you know how to spawn actors?

        cheers

        Do you already have a pickup system?
        Yes i did i have inventory system with pickup.
        Note: inventory system inside character blueprint

        Do you know how to call functions between blueprints?
        No, i don't know how to do it

        Do you know how to spawn actors?
        yes i think with node set hidden in game.

        And thank you for your support
        Games developer ( Mystery : Curiosity and seek the truth )
        Planing to Remake Mystery with new story and make it better and better

        Comment


          #5
          Hello , is Any bodey theeeeeeere!!!
          Games developer ( Mystery : Curiosity and seek the truth )
          Planing to Remake Mystery with new story and make it better and better

          Comment


            #6
            hey mate,

            is your item a class or something primitive?


            or can you show me the screenshot of your blueprint where your pick up system fires?
            Live long and prosper.

            Comment

            Working...
            X