er2.showObjective 226
Display a new objective text
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | New objective title |
| 2 | string | New objective message |
Examples
Show an objective assigned dialog with a custom text
--show a new mission objective UI
er2.showObjective("New objective","Survive")Example 17
--show a new mission objective UI
er2.showObjective("Mission objective updated","Destroy the Flak88")