The 'AnimationSetFile' function changes a preset animation into a new one.
void @AnimationSetFile(string class_name, string file_name);
Parameters
string class_name : Class name of Animation.
string file_name : File name of animation that you want to change.
Return Value
None
Example
If($DI_0000 == 1)
@AnimationSetFile("Animation1", "ON.ANI");
else
@AnimationSetFile("Animation1", "OFF.ANI");
Description : If 'DI_0000' is '1', 'ON.ANI' file is applied. But, if 'DI_0000' is '0', 'OFF.ANI' file is applied.
Relate items)