i just got stupid

This commit is contained in:
craftersshaft
2021-05-27 14:50:13 -04:00
parent 190670c3b2
commit 760ac6869c
3 changed files with 19 additions and 10 deletions

View File

@ -527,6 +527,10 @@ class ModchartState
Lua_helper.add_callback(lua,"setActorX", function(x:Int,id:String) {
getActorByName(id).x = x;
});
Lua_helper.add_callback(lua,"playActorAnimation", function(id:String,anim:String,force:Bool = false,reverse:Bool = false) {
getActorByName(id).playAnim(anim, force, reverse);
});
Lua_helper.add_callback(lua,"setActorAlpha", function(alpha:Float,id:String) {
getActorByName(id).alpha = alpha;