Announcement

Collapse
No announcement yet.

How to make a actor spawn on a random start-up of a game?

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

    How to make a actor spawn on a random start-up of a game?

    Hello! im working on a five nights at freddy's-Fan Game and i wanted to make easter eggs (Like from five nights at freddy's vr) where you load up the game and maybe a a object will be visible or spawn in. can you help?

    #2
    Originally posted by alex954hy View Post
    Hello! im working on a five nights at freddy's-Fan Game and i wanted to make easter eggs (Like from five nights at freddy's vr) where you load up the game and maybe a a object will be visible or spawn in. can you help?
    You can just use a RandomFloatInRange node, if it's > .5 ( say ), then spawn the actor, otherwise, don't.
    Check out Zof ( puzzle game ) on Steam:

    https://store.steampowered.com/app/1414480/Zof/

    Comment


      #3
      Originally posted by ClockworkOcean View Post

      You can just use a RandomFloatInRange node, if it's > .5 ( say ), then spawn the actor, otherwise, don't.
      Could you send a pic for example

      Comment


        #4
        Originally posted by alex954hy View Post

        Could you send a pic for example
        Click image for larger version

Name:	spawn.PNG
Views:	62
Size:	62.9 KB
ID:	1720870
        Check out Zof ( puzzle game ) on Steam:

        https://store.steampowered.com/app/1414480/Zof/

        Comment


          #5
          Originally posted by ClockworkOcean View Post

          Click image for larger version

Name:	spawn.PNG
Views:	62
Size:	62.9 KB
ID:	1720870
          Thanks so much!

          Comment

          Working...
          X