Add Lua documentation details
This commit is contained in:
@@ -68,7 +68,8 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[ScriptActorPropertyActivity]
|
||||
[Desc("Mark an objective as failed. This needs the objective ID returned " +
|
||||
"by AddObjective as argument. Secondary objectives do not have any " +
|
||||
"influence whatsoever on the outcome of the game.")]
|
||||
"influence whatsoever on the outcome of the game. " +
|
||||
"It is possible to mark a completed objective as a failure.")]
|
||||
public void MarkFailedObjective(int id)
|
||||
{
|
||||
if (id < 0 || id >= mo.Objectives.Count)
|
||||
|
||||
Reference in New Issue
Block a user