Timed Events

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Timed Events

Postby reneuend » Wed Dec 25, 2013 7:32 pm

In the coming days/weeks/months, I will use this thread to show you the different games/puzzles you can create using repeating timed events. This includes moving hotspots or text objects. randomly displaying hotspots or text objects, and what you can do with them in your game.

This tutorial is based on the following action command:
Action.CreateTimedEvent <delay time>, "<code>", Repeat (True/False)

Here is a very helpful routine if you use multiple running timed events and you need to stop them all!
Put this in your arsenal of commonly used routines.

Code: Select all
'Stop all repeating timed events that were started using Action.CreateTimedEvent <delay>,"<code>", True
Sub RemoveTimedEventAll()
  Dim count
  count = TimedEventObject.count
  for x = 1 to count
    Action.RemoveTimedEvent count
End Sub

User avatar
Posts: 2739
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Re: Timed Events

Postby Vengeance66 » Wed Dec 25, 2013 11:28 pm


Surely this will come in handy for future games. :-)
Stay a while and listen...

Rainbow Enterainment - http://rainbowenter.com/
User avatar
Posts: 632
Joined: Wed Oct 13, 2010 2:17 pm
Location: Macedonia

Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests