<

LESSON 4 - Part 2:  Randomizing Events

Creating The Randomizing Behavior (continued)

Line #2 looks like this:


Fig. 2.34

We'll identify our storage space for the second event in Line #3. Select the line and fill in the Data box:

Function:  2
True line:  4
False line:  5
Param 1:  2
Param 2:  1 (this is our second event container of 0-4)
Param 3:  512
Param 4:  1800

Line #3 looks like this:


Fig. 2.35

Select Line #4, and here we will tell it which one is event 2. Fill in your Data box:

Function:  4110 (our hunger behavior)
True line:  9  (forcing to the exit script)
False line:  9
Param 1:  -1
Param 2:  -1
Param 3:  -1
Param 4:  -1