I want to make this perfectly clear to EVERYONE about the "Is Objective" property.
When setting the objective value of entities, upon playing the level the engine will compile a LIST of all the Objective values used in the level.
I.E. If you have an entity with an objective value of 1 and another entity with an objective value of 2, this list will contain the numbers 1 and 2.
When the player picks up an entity with an objective number then that objective number will be "marked off" on the list, stating to the engine that this objective is complete. This means that if two entities share the SAME objective, the player will NOT have to do both of them to mark that objective number off the list, he will only need to do one of them.
I.E. If an item has an objective number of 1 and an enemy has an objective number of 1, then the player need only pick up the item OR kill the enemy in order to complete objective number 1 in the list.
The player does not need to do both in this case
You can use objective numbers up to 99 (From the last time I looked at the source, this was correct, it may or may not have changed).
Specific objective numbers do not mean anything! They are simply objectives in the list!
Q. How is an obective fulfilled?
A. If the objective is tied to an item, then the objective will be completed upon the player picking up that item. If the objective is tied to a character entity, then the player must KILL that character in order to fulfill the objective.
Q. So, then how do I clear a level?
A. The level will be completed once EVERY Objective number used in that level is marked as "complete" by the engine.
Please keep the above rules in mind when setting Objectives. It is easy to give more than one entity the same objective number, and so your level may not work correctly. I would suggest compiling your own list of numbers that have been used and on what entity, in order to prevent incorrect objective placement.
Thank you, that is all.
The one and only,
~PlystirE~
Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!