Franke004 Posted September 28, 2017 Share Posted September 28, 2017 Hey people , i already made my char Hiroki , he is on workshop , but i would like to add a feature to him transformation. Basicaly when his level its below 4 he has a certain skin and when his level its above 4 he has another skin , and above 12 he has another one (just want the eyes to change) He levels up by eating nightmare fuel , but i dont know how to make a trigger to him so he changes appearence, and where should i put the files with the other appearence. I tried looking at Wolfgang , it helped a bit but im still not familiar with what happens in there. Link to comment https://forums.kleientertainment.com/forums/topic/82451-creating-a-character-that-can-transform/ Share on other sites More sharing options...
RedHairedHero Posted September 28, 2017 Share Posted September 28, 2017 So first question how to trigger the transformation. Since your character levels up by eating nightmare fuel you can use the event listener for eating inside your master postinit function. inst.components.eater:SetOnEatFn(functionname) This will let you say when your character eats do this function, from there you can perform a check to see if he ate nightmare fuel, what level he is, and change his build/skin accordingly. If you made an entire additional build for your character you just need to put that folder inside your exported folder. Link to comment https://forums.kleientertainment.com/forums/topic/82451-creating-a-character-that-can-transform/#findComment-958964 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now