ChangelingJane
07-10-2002, 03:31 AM
I'm having problems with the goals in my tiny little FM I've done. There are only three objectives -- 1) Steal all the loot, 2) Don't kill any people, 3) Return to where you broke in when done.
As soon as the "Steal the Loot" objective is completed, the other two automatically complete as well, no matter where the player is! I have the ending room set up with the "WelcomeRoom" script, and it is a new room type called "EndPoint". It is the only room of this type -- the rest of the rooms are default rooms. I've recompiled the room database and everything, and the goal is pointing to the correct object number (172). Here's the goal code I inputted:
quest_create_mis goal_state_0, 0
quest_create_mis goal_visible_0, 1
quest_create_mis goal_type_0, 3
quest_create_mis goal_loot_0, 1135
quest_create_mis goal_min_diff_0, 0
quest_create_mis goal_max_diff_0, 2
quest_create_mis goal_state_1, 0
quest_create_mis goal_visible_1, 1
quest_create_mis goal_type_1, 2
quest_create_mis goal_reverse_1, 1
quest_create_mis goal_target_1, -14
quest_create_mis goal_min_diff_1, 0
quest_create_mis goal_max_diff_1, 2
quest_create_mis goal_state_2, 0
quest_create_mis goal_visible_2, 1
quest_create_mis goal_type_2, 4
quest_create_mis goal_irreversible_2, 1
quest_create_mis goal_target_2, 172
quest_create_mis goal_min_diff_2, 0
quest_create_mis goal_max_diff_2, 2
quest_create_mis goal_final_2, 1
I'm not sure what's up! Any help would be appreciated.
As soon as the "Steal the Loot" objective is completed, the other two automatically complete as well, no matter where the player is! I have the ending room set up with the "WelcomeRoom" script, and it is a new room type called "EndPoint". It is the only room of this type -- the rest of the rooms are default rooms. I've recompiled the room database and everything, and the goal is pointing to the correct object number (172). Here's the goal code I inputted:
quest_create_mis goal_state_0, 0
quest_create_mis goal_visible_0, 1
quest_create_mis goal_type_0, 3
quest_create_mis goal_loot_0, 1135
quest_create_mis goal_min_diff_0, 0
quest_create_mis goal_max_diff_0, 2
quest_create_mis goal_state_1, 0
quest_create_mis goal_visible_1, 1
quest_create_mis goal_type_1, 2
quest_create_mis goal_reverse_1, 1
quest_create_mis goal_target_1, -14
quest_create_mis goal_min_diff_1, 0
quest_create_mis goal_max_diff_1, 2
quest_create_mis goal_state_2, 0
quest_create_mis goal_visible_2, 1
quest_create_mis goal_type_2, 4
quest_create_mis goal_irreversible_2, 1
quest_create_mis goal_target_2, 172
quest_create_mis goal_min_diff_2, 0
quest_create_mis goal_max_diff_2, 2
quest_create_mis goal_final_2, 1
I'm not sure what's up! Any help would be appreciated.