Bully-Board

Bully Modding Section => Modding Questions/Help => Topic started by: Silent_Solous on October 23, 2018, 11:43:47 AM

Title: How do you exactly code-in "LoadAnimationGroups?" (Beginner Lua Modder)
Post by: Silent_Solous on October 23, 2018, 11:43:47 AM
So, I've recently become a lua modder (which is really fun). I've been struggling about, how to add-in or at least load animations 'cause I've been seeing 'T-Poses' most
of the time & that I gotta wait for the NPC that have the right animations to load it all up. Like I said, I'm still in the first stages of modding & that I have come to learn more new things about all... this.
Title: Re: How do you exactly code-in "LoadAnimationGroups?" (Beginner Lua Modder)
Post by: SimonBestia on October 24, 2018, 04:14:29 PM
To load animations, you just use the function LoadAnimationGroup("NAMEOFTHEANIMATIONGROUPHERE").

List of all the animation groups you could possibly load. (http://www.bully-board.com/index.php?topic=20721.0)

I usually just load everything since the majority of people have a PC that can handle Bully just fine, (If you ever mod the PS2 version, DO NOT load too many animations) if you want to unload the animations, just add another function called UnLoadAnimationGroup, it works in the same way as the other one.
Title: Re: How do you exactly code-in "LoadAnimationGroups?" (Beginner Lua Modder)
Post by: Silent_Solous on November 03, 2018, 03:15:52 AM
^ I actually found the way already the past few days after I posted this. Thank you anyways!