Added more Lua functions

This commit is contained in:
Curtis Shmyr
2014-08-15 19:51:02 -06:00
parent 780fd0df29
commit cb4bd52fc0
7 changed files with 140 additions and 4 deletions

View File

@@ -56,6 +56,9 @@ namespace OpenRA.Mods.RA.Scripting
[Desc("The player that owns the actor.")]
public Player Owner { get { return self.Owner; } }
[Desc("The type of the actor (e.g. \"e1\").")]
public string Type { get { return self.Info.Name; } }
[Desc("The direction that the actor is facing.")]
public int Facing
{