NERPs finding object objective

From RRU Knowledge Base
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

The Finding Object Objective is a fairly simple objective that requires you to find an Object and possibly retrieve that object to a certain area. It works by using Tutorial Blocks. When a block is triggered, it will trigger a message or other parameter in the script, in this case, the level completion parameter.

Finding Hidden Object Setup

If you want the objective to declare level victory when you simply expose a hidden object, the setup comprises of these lines:

 GetHiddenObjectsFound > 0 ? AddR1 1
 GetR1 = 0 ? :jump
 GetR1 > 2 ? SetR1 2
 GetR1 = 1 ? SetCameraGotoTutorial 11
 GetR1 = 1 ? SetMessage 9 1
 GetR1 = 1 ? SetTimer2 0
 GetMessageTimer > 0 ? Stop
 TRUE ? SetTimer1 0
 TRUE ? SetMessagePermit 1
 TRUE ? SetLevelCompleted
 Stop

The important line out of this is "GetHiddenObjectsFound > 0 ?" where "0" can be any specified value. In this case, once a single marked hidden object is found, the camera moves to that spot, a message is triggered, and the level is complete. When encrypted this translates to:

 B3 00 02 00 05 00 01 00 00 00 00 00 04 00 01 00 22 00 02 00 01 00 00 00
 12 00 02 00 07 00 01 00 00 00 00 00 04 00 01 00 C4 00 08 00
 12 00 02 00 05 00 01 00 02 00 00 00 04 00 01 00 1A 00 02 00 02 00 00 00
 12 00 02 00 07 00 01 00 01 00 00 00 04 00 01 00 73 00 02 00 0B 00 00 00
 12 00 02 00 07 00 01 00 01 00 00 00 04 00 01 00 10 00 02 00 09 00 00 00 01 00 00 00
 12 00 02 00 07 00 01 00 01 00 00 00 04 00 01 00 49 00 02 00 00 00 00 00
 6B 00 02 00 05 00 01 00 00 00 00 00 04 00 01 00 00 00 02 00
 01 00 02 00 04 00 01 00 48 00 02 00 00 00 00 00
 01 00 02 00 04 00 01 00 31 00 02 00 01 00 00 00
 01 00 02 00 04 00 01 00 08 00 02 00
 00 00 02 00

Each line corresponds to the line of readable script to make it more easily decipherable.

Retrieving Object Setup

An alternative objective, would not only be to find the lost object, but retrieve it to a designated location or Tutorial Block. This setup is much simpler, and practically comprises of one line:

 GetRecordObjectAtTutorial GetR1 ? SetLevelCompleted

Once the marked object has triggered a designated Tutorial Block (possibly one of several designated blocks) the mission is complete. When encrypted this simply translates to:

 B2 00 02 00 12 00 02 00 04 00 01 00 08 00 02 00

where "B2 00 02 00" is the object retrieval Parameter, "12 00 02 00" is the "GetR1" Parameter, 04 00 01 00 is the symbol "?", and "08 00 02 00" is the level completion parameter.

Examples of Levels with this Type of Objective