Running scripted events

0 favourites
  • 4 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • Hey,

    I'm looking for a way to create scripted events. So, if a player walks into a house and I want a series of events to run, like somebody walking X pixels then turning to look out a window or something.

    I haven't been able to find anything about this. I imagine I'll be able to start it with a one-time use invisible sprite and check for colission. Not really sure how to do the timings though. Maybe some For loops?

  • There are two ways to do this.

    An Eventsheet covered with with Function Calls that lead to

    On Function Call foo

    do action

    wait(x)

    do action

    wait(x)

    do action

    Wait(x)

    so on and so on

    The other is to use the Timeline plugin construct.net/en

    never used it myself, so I can't be of anymore help about it.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Another way is to create an invisible sprite that is your area that you want to trigger the event.

    For instance on the door of the building.

    Then, when the Player overlaps the the sprite you would trigger the event.

  • Thanks guys!

    I'll give these a shot. One of them should be exactly what I needed :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)