Mission Objective Entity

From SeriousEngine.com

Jump to: navigation, search

c4tliv A mission objective usually appears in Netrisca databases.

Contents

Making A Mission Objective Entity

Starting out...

To begin, you must have an item (or anything else to trigger the

mission objective entity), a mission objective entity, and a macro

entity. If you do not have either of those, please insert a new

entity to it. And please make sure you have read how to use the

macro feature because that owns a lot in this tutorial.

The Macro Program

Now we have all those, we start to code to the macro entity. Open

up the macro program and start typing them . An example would be

like this:

 Macro Main ?
 {
   Wait (false)
 } On (event(Detector.Activated)) do {
   ActionAsync MissionObjective001.Activate()
 } 

It doesn't have to be a detector. As long as it is an object and

it is possible to code it, you can do that.

Now press "T" to test your map. But a lot of settings were not set

yet so you would encounter some problems. They are pretty

normal.

The Mission Objective Entity

There are some properties you can change for the entity. Just open

up the entity window (alt 1) and then make the changes. Most are

self-explainable, but I still explain them here. Here is the list

of the properties of this entity:

  • Visible On Scanner : determines if objective is rendered on the

editing map in hud (meaning whether it appears when you edit the

map).

  • Objective Added Text : What text will display in the objectives

list when you open up the Netrisca.

  • Objective Added/Accomplished/Failed Text To Say : What will

Netrisca says when the following happens.

  • Objective Added/Accomplished/Failed Text Period " Determine how

many seconds should the message be visible.

  • Objective added sound : What sound should the game play when

objective is added.

  • Objective accomplished/failed sound override' : Pretty same as

the above but this time it override because the sound is

different.

  • Notify Player When Objective Is Accomplished/Failed : If set to

false, then Netrisca wouldn't tell player. Vice versa if this is

checked.

  • Play Happy/Sad Music' : Play the sad or happy music before the

thing happen.

  • Time Period For Playing Happy/Sad Music' : Time to play the music

before the music stops.

  • Time period for appearing netricsa icon : Same as above, but this

time it is the Netrisca icon.

That's it.


-twl

Personal tools