Sunday, February 27, 2011

Building - Byte's Interactive Building Class, detailing the At trigger and Timer command

For anyone who missed it, Byte taught an excellent class detailing AT trigger and Timer command today.  This topic was of particular interest to me, because I love building games and characters you can interact with.  Virtual buildings and cities are great, but what's the point if they're lifeless?

Both of these new features exist to make interactive building a bit easier, and they expand upon what we could do originally with astart scripting.  For those of you who are lost, here's a rundown:

AT trigger - The at trigger will activate commands after a set amount of time, or at a scheduled time in VRT.
Byte:    The at trigger has two uses.  It is used to either trigger a set of commands at a certain point during a timer, or to trigger a set of commands in sync with the VRT clock.
TIMER command - The timer command creates a timer in memory that allows a user to activate events after a set amount of time.

Byte:    First off the timer command can be used with any trigger, even the at trigger, to create, reset, or stop a timer with a given name.
Byte:    Every timer has a duration, which is the number of milliseconds the timer will last for.
Byte:    An example of a timer called ABC with a duration of 1 second would be:  create timer ABC 1000
Byte:    Timers have multiple parameters, though.  They take the form: <trigger> timer tmName duration [loop=1] [stop | reset] [global]
A demo of entering zones to trigger timers.


Byte's class explained how these two worked in tandem with each other, and in my opinion was very well paced.  As a programmer, Byte was able to come to this from a different perspective than the average user and I think that definitely helped to get some obscure rules and tricks out in the open that most people wouldn't be aware of.  A good crowd of over 20 showed up for the class and I hope they all will be able to make fun, interactive builds now! :)

A demo of simple timers on pole objects.

Byte's got a good format setup for his class.  He taught in the text chat and used built examples.  I'm not really comfortable with the voice chat so I may do something similar when I teach my class in the next week or two.  Remember to vote for a topic, but I may discount the interactive building class since Byte just taught something similar.  You can vote for more than one as well, so just pick what interests you. :)

Below I've attached a log of Byte's class if you would like to review it.  I'll also post helpful reference links that you can follow along with.

No comments:

Post a Comment