IthaquaLabs Posted November 28, 2015 Share Posted November 28, 2015 Hi! Tried to pull it from an older character, but it doesn't seem to work anymore. Using: local function WatchPhase(inst, phase) if phase == "summer" then inst.AnimState:SetBuild("speksum") end if phase == "winter" then inst.AnimState:SetBuild("spekwin") end if phase == "spring" then inst.AnimState:SetBuild("spekspr") end if phase == "autumn" then inst.AnimState:SetBuild("spek") endendAs you can see the character has 4 different forms. Andlocal function master_postinit(inst) inst:ListenForEvent("phase",WatchPhase,TheWorld)Simply isn't working, not sure why. Nothing else to the character at the moment. Any thoughts? Link to comment https://forums.kleientertainment.com/forums/topic/59514-season-detection-code-request-for-character-help/ Share on other sites More sharing options...
Kzisor Posted November 28, 2015 Share Posted November 28, 2015 @IthaquaLabs, http://forums.kleientertainment.com/topic/59518-broken-code-seasonal-appearance-change-not-functioning/ Link to comment https://forums.kleientertainment.com/forums/topic/59514-season-detection-code-request-for-character-help/#findComment-689267 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