Merge pull request #8418 from abcdefg30/newlua_other_cool_stuff

Added even more lua functions
This commit is contained in:
Matthias Mailänder
2015-06-28 12:37:06 +02:00
7 changed files with 61 additions and 4 deletions

View File

@@ -54,5 +54,12 @@ namespace OpenRA.Mods.Common.Scripting
{
Self.Trait<Mobile>().Nudge(Self, Self, true);
}
[ScriptActorPropertyActivity]
[Desc("Move to and enter the transport.")]
public void EnterTransport(Actor transport)
{
Self.QueueActivity(new EnterTransport(Self, transport, 1, true));
}
}
}