diff --git a/sources/Core/AcediaActor.uc b/sources/Core/AcediaActor.uc index 1950db2..ce51fee 100644 --- a/sources/Core/AcediaActor.uc +++ b/sources/Core/AcediaActor.uc @@ -25,6 +25,11 @@ class AcediaActor extends Actor var protected Global _; +public final function Text T(string string) +{ + return _.text.FromString(string); +} + event PreBeginPlay() { super.PreBeginPlay(); diff --git a/sources/Core/AcediaObject.uc b/sources/Core/AcediaObject.uc index ec6cb4d..2d451cf 100644 --- a/sources/Core/AcediaObject.uc +++ b/sources/Core/AcediaObject.uc @@ -25,6 +25,11 @@ class AcediaObject extends Object abstract; +public final function Text T(string string) +{ + return _().text.FromString(string); +} + public static final function Global _() { return Global(class'Global'.static.GetInstance());