Components

What are components?

A component adds special functionality to any Blocksmith object or group. There are three types of components that can be added to objects/groups: variable, sound, or navigation.

Pro tip: sound/variable components are commonly used on groups instead of their object counterparts to prevent group size creep

Variable

A variable can be added to any object or group, without using the Variable object. This means that counters/timers/etc. can be added to objects/groups without the need for extensive editing.

A variable component can be referenced from the event system by selecting the component as the target of the event's action:

ALT TEXT HERE

Sound

Sounds can also be added to any object or group without a sound object. Add a sound component to any object or group, choose a sound file to play, and choose when to play it.

For example, you can make a door play a sound when opening, and another when closing.

ALT TEXT HERE

Possibly the most fun component! When an object/group has a navigation component, it can 'intelligently' move around the scene just like Characters! You can choose to make it follow the player, wander around, or approach other objects.

ALT TEXT HERE