_Q_ Posted October 10, 2015 Share Posted October 10, 2015 (edited) @PeterA Sometimes when someone makes character mod, he makes a new stategraph for his character instead of adding postinits to wilson stategraph, everything on that character works fine, the problem starts when user of that mod decides to use other mods that add custom actions.Mod with new actions is adding those actions to wilson stategraph, but that stategraph is not used, as a result the mod with custom actions wont work. Is there a way to do something about this? Like making stategraph postinit function detect character stategraphs or something, just to take all that false reports of custom action mod not working out of the way? Its the same case in DST and DS, if possible to fix that on both. Edited October 10, 2015 by _Q_ Link to comment Share on other sites More sharing options...
DarkXero Posted October 10, 2015 Share Posted October 10, 2015 function EntityScript:SetStateGraph(name) if self:HasTag("player") then assert(name == "SGwilson" or name == "SGwerebeaver" or name == "SGwilsonghost" or name == "SGwilson_client" or name == "SGwilsonghost_client") end -- Rest of function goes hereendIn DS, Woodie has SGwerebeaver.In DST, SGwerebeaver was merged into SGwilson. But what about any mod that may transform the character and needs a different stategraph?Or just because some people screw up, everything needs to be dumped at SGwilson? Link to comment 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