Mission Objectives Q's


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by BadMotor on March 19, 1998 at 02:59:40:

After messing around (for many hours) with trying to implement Mission Objectives on a level, I have reached some degree of success, but I have a few nagging questions (I couldn't find the answer in the JK_specs).

1)To have your mission objectives show up in the Objective list in the game, is it just a matter of ONLY editing the "cogstring.uni" file? For some wierd reason, my mission objectives don't show up anymore. Only my level name shows up, saying there are no objectives. It worked before. I figure I must have corrupted the "cogstrings.uni" file somehow. Interestingly, despite this missing objectives listing, my goals can still be accomplished and triggered when playing the level. Maybe somewhere I made a typo in my goal text line ("GOAL_01000" 0 "Find the key.")

2)Came across this function when editing my goals.cog:
SendMessageEx(GetMasterCOG(), user0, 0, 0, 0, 0);
What do the values in the userX,X,X,X,X correspond to? I entered the appropriate values, so my goals.cog works in my level, but I'm curious at what they mean and what I did.

3)Also I came across this line in an endlevels.cog:
// Setup the goals first string in cogStrings.uni so the UI knows about it.
SetInv(player, 99, 3000);
What is the "UI"? And why does the "UI" have to know about anything? :-)

-BadMotor





Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]