I think I tried that before, but after double checking, it still gives me an error. And since everything goes through if I replace that one word, I'm not sure what's going on. Looking at the debug log, I get a "Problem C24BadOptionalAPClause", but that doesn't seem to explain much.
Code:
Rule for setting action variables for an actor going (this is the timed set going variables rule):
now the speed gone at is the number produced by the going speed selection rules for the actor;
unless the redirect speed is 0:
now the speed gone at is the redirect speed;
now the redirect speed is 0;
unless the redirect scale is 1:
now the speed gone at is the speed gone at multiplied by the redirect scale;
now the redirect scale is 1;
now the first distance gone over is the default distance;
now the second distance gone over is the default distance;
repeat through the Table of Room Distances:
if the start entry is the room gone from and the end entry is the room gone to:
if there is a first entry, now the first distance gone over is the first entry;
if there is a second entry, now the second distance gone over is the second entry;
otherwise if the end entry is the room gone from and the start entry is the room gone to:
if there is a second entry, now the first distance gone over is the second entry;
if there is a first entry, now the second distance gone over is the first entry;
now the total distance gone over is the first distance gone over plus the second distance gone over;
now the time gone for is the total distance gone over multiplied by the speed gone at.
The going speed selection rules are a person based rulebook producing a number.
A going speed selection rule when someone (called the subject) is in an enterable vehicle (this is the default carriage speed rule):
rule succeeds with result 15.
A going speed selection rule (this is the default going speed rule):
rule succeeds with result 30.
The default going speed rule is listed last in the going speed selection rules.
Quote:
Problem. In 'now the speed gone at is the number produced by the going speed selection rules for the actor', I tried to read a description of an action - a complicated one involving optional clauses; but 'the actor' wasn't something I recognised.