Barabashenko said:kalarhan said:Barabashenko said:Hi. How can I set "agent_set_speed_modifier" for the specific animation (for example - "reload_musket")? I need to make agents walk instead of running while reloading muskets, as they do in WFaS or Gekokujo. Thanks.
those are different things. The operation is used to control run speed, not the animation that is in use.
You can download the modsys from WFaS and see how they used the flags to control reload as well. It is public like Warband and Viking Conquest.
Already did that before posting my question here, but no luck. I have no idea which script responds for this function, I even thought that it's hardcoded, but Gekokujo has the same feature.
There's no inbuilt function for that, you have to create a trigger that periodically checks if an agent reloads a musket and then set the speed modifier accordingly.