Jump to content

lua of wilbur for his running ability


Recommended Posts

Essentially it's handled in SGwilson in the 'run' state.

They have in the onupdate portion of the state to check if the inst.components.locomotor.timemoving is bigger than the threshold to start running and that the character is wilbur (by checking if it has the 'monkey' tag).

This switches the stategraph to state 'run_monkey_start' via the stategraph's GoToState for animation handling, and then goes to .'run_monkey' wherein the locomotor component is modified with this DLC's custom AddSpeedModifier_Additive.

Which is a bonus to speed but instead of being multiplicative it's additive.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...