33 for (
int i =
s_Instance.m_aAnimations.Count() - 1; i >= 0; i--)
36 if (current.GetWidget() != w)
39 if (!current.IsInherited(typeName))
78 for (
int i =
s_Instance.m_aAnimations.Count() - 1; i >= 0; i--)
80 if (
s_Instance.m_aAnimations[i].GetWidget() == w)
93 if (animation.GetWidget() == w)
108 if (animation.GetWidget() == w && animation.Type() ==
type)
123 if (animation.GetWidget() == w && animation.Type() ==
type)
143 if (!
s_Instance || !animation || !animation.GetWidget() || animation.GetSpeed() <= 0)
287 Print(
"[AnimateWidget.PrepareAnimation] AnimateWidget entity instance is missing " + w +
"." + w.GetName(),
LogLevel.WARNING);
293 Print(
"[AnimateWidget.PrepareAnimation] Widget to animate is missing",
LogLevel.WARNING);
299 Print(
"[AnimateWidget.PrepareAnimation] Animation speed must be > 0 " + w +
"." + w.GetName(),
LogLevel.WARNING);
306 if (anim.GetWidget() != w || !anim.IsInherited(typeName))
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Game g_Game
Game singleton instance.
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.