HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 

 Change critter animation when selecting "Stay"

Go down 


Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 389
Join date : 2011-10-20
Age : 32
Location : everywhere

PostSubject: Change critter animation when selecting "Stay"   Wed Jan 31, 2018 10:00 pm

Simple little change for your pets. This will make it so any pet with a "Stay" animation will change to that as it's idle while it is waiting for you to let it follow you again. It will also go right back to it's standard "Idle" animation when you switch it to follow. Because why not?

Including a critter I made to test it with. I decided it didn't really suit the feel I'm going for with MLs ... "critters"... So have fun with the weird-ass godzilla knock-off wannabe mess....XD

Just find the "Stay" and "Follow" functions in the GUI file and add in the red text.

Quote :
else if(tFunction=="Stay")
MagixCritter *tCritter = mCritterManager->getByObjectNode(mCurrentObject);
mUnitManager->getPlayer()->getPetFlags()->stay = true;
else if(tFunction=="Follow")
MagixCritter *tCritter = mCritterManager->getByObjectNode(mCurrentObject);
mUnitManager->getPlayer()->getPetFlags()->stay = false;

The critter has no texture. Have fun with that XD

yes, i named it 'lilmounty' obviously you can change that.
Back to top Go down


Server : Aoi Tenshi
Male Posts : 444
Join date : 2015-03-09

PostSubject: Re: Change critter animation when selecting "Stay"   Thu Feb 01, 2018 10:01 am

very helpful thing Surprised Hammi, you're god (said atheist)
Back to top Go down


Game username : Tigg
Server : Impressive Title by Tigg
Female Posts : 97
Join date : 2017-08-01
Age : 34
Location : Austria

PostSubject: Re: Change critter animation when selecting "Stay"   Thu Feb 01, 2018 2:31 pm

YAAAASSS, hammy is the bessst x3

Thanks for that Very Happy
Back to top Go down
Sponsored content

PostSubject: Re: Change critter animation when selecting "Stay"   

Back to top Go down
Change critter animation when selecting "Stay"
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: DOWNLOADABLE CONTENT :: Programming Features-
Jump to: