User:Ringtail Raider/RRU Wiki/Building Objective
From Research Realm
A Building Objective is a fairly simple Mission Objective. This sets the level up, so that when a certain building is constructed, teleported, and possibly powered or upgraded, the mission has been completed successfully.
Setup
This objective setup comprises basically of one line of script:
GetPoweredBarracksBuilt > 0 ? SetLevelCompleted
In this example, once a single Support Station has been built and powered, the mission is complete.
Other Get Built Parameters
There are numerous parameters that can be used for this setup:
GetToolStoresBuilt - 4D 00 02 00 GetTeleportsBuilt - 4F 00 02 00 GetVehicleTransportsBuilt - 80 00 02 00 GetGeoDomeBuilt - B9 00 02 00 GetPowerstationsBuilt - EF 00 02 00 GetLevel1BarracksBuilt - 0A 01 02 00 GetLevel1PowerStationsBuilt - 0D 01 02 00 GetLevel1TeleportsBuilt - 10 01 02 00 GetLevel2BarracksBuilt - 13 01 02 00 GetLevel2PowerStationsBuilt - 16 01 02 00 GetLevel2TeleportsBuilt - 19 01 02 00 GetPoweredBarracksBuilt - 1C 01 02 00 GetPoweredPowerstationsBuilt - 1F 01 02 00 GetPoweredTeleportsBuilt - 20 01 02 00
Each parameter's respective encrypted hex string is on the right. Other buildings and building setups are either unused or unknown (vehicletransports stands for the super teleport).
Examples of Levels with this Type of Objective
- Level04 (with Intermittent Message Setup)
- Level05 (with Intermittent Message Setup)