Character Walks

From ADRIFT 5 Manual Wiki
Revision as of 12:46, 14 August 2012 by Saabie (Talk | contribs) (Creating a new Walk)

Jump to: navigation, search

Construction.gif

Character walks are defined on the "Movement" tab of each character, and are similar to events in that they define a sequence of actions that are performed in order each time the player enters a command.

To do this tutorial you will need a game with several locations, preferably the one created in the "Getting started" tutorials as that is the one i will be using for my examples.

You will need at least one other character in addition to the Player character, so create a new character now if it doesn't have any.

Creating a new Walk

To get our guard character to patrol along a specific path we need to create a new "Walk".

Open the guard character and select the "Movement" tab.

CharacterMovement.jpg

The movement page allows you to program one or more routes that this character will follow, and actions they will perform along the way.

Each of these independant routes and its associated actions is called a "Walk". A character can have several walks, but can only follow one walk at a time.

Click "Add Walk" to open the new walk dialog:

NewWalk.jpg

This dialog box has three tabbed pages: Control, Steps and Activities.

On the "Control" page enter the description "Guard Patrol" and select the "Active" radiobutton under "This walk should start off...". This will cause the guard to start walking as soon as the game starts.

Tick the "Repeat on completion" box. This will make the guard start walking his patrol route again from the beginning as soon as he completes it.

Adding Steps

WalkStep.jpg

Adding Activities

WalkActivity.jpg


Adding a Walk Control

WalkControl.jpg