This tutorial describes the
different types of objectives available to FM authors. It is meant
to be used in conjunction with this demo
level.
Note: all commands are typed
at the command prompt, minus the quotes.
The objectives are
fairly simple when you get the hang of them.
Room 1 is the Steal an item
objective. And you would put that in like this:
'quest_create_mis goal_state_0, 0' This means the goal #0 is
incomplete. 'quest_create_mis goal_visible_0, 1' This means the
goal #0 is visible. 'quest_create_mis goal_type_0, 1' This means
that goal #0 is to steal. 'quest_create_mis goal_target_0, 14'
This means that object ID#14 is the object to steal.
IMPORTANT---always put a space after the commas. If the item can
be dropped you must also type this command: 'quest_create_mis
goal_irreversible_0, 14' This makes it so that if you drop the item
by mistake, the goal is still complete.
Room 2 is the Kill a
person objective. And you would put that in like this:
'quest_create_mis goal_state_1, 0' This means the goal #1 is
incomplete. 'quest_create_mis goal_visible_1, 1' This means the
goal #1 is visible. 'quest_create_mis goal_type_1, 2' This means
that goal #1 is to steal. 'quest_create_mis goal_target_1, 15'
This means that object ID#15 is the thing that is to be killed.
IMPORTANT---always put a space after the commas.
Room 3
is the Loot objective. And you would put that in like
this: 'quest_create_mis goal_state_2, 0' This means the goal #2
is incomplete. 'quest_create_mis goal_visible_2, 1' This means
the goal #2 is visible. 'quest_create_mis goal_type_2, 3' This
means that goal #2 is to steal. 'quest_create_mis goal_loot_2,
[the amount to steal]' This means that this objective is complete
after this amount of loot has been found. IMPORTANT---always put
a space after the commas.
Room 4 is the Goto Location
objective. And you would put that in like this:
'quest_create_mis goal_state_3, 0' This means the goal #3 is
incomplete. 'quest_create_mis goal_visible_3, 1' This means the
goal #3 is visible. 'quest_create_mis goal_type_3, 4' This means
that goal #3 is the goto location obj. 'quest_create_mis
goal_target_3, (the ID# of room) This means that this objective is
complete after this amount of loot has been found.
IMPORTANT---always put a space after the commas. To make this
room the ending you must also type this command: 'quest_create_mis
goal_final_3, (ID#)' This makes it so that you can end. The set up
for the roombrush is described in this
tutorial.
|