Jump to content

PathToReference causes actor to walk to player, but not run?


Mayubix

Recommended Posts

Hello,

 

I'm currently working on a mod that will allow players to summon either stormclock reinforcements or imperial reinforcements depending on the player's affiliation in the civil war.

 

I want to have the summoned guards follow the player like any follower(i.e. the follower runs when the player runs, or walks when the player walks). To accomplish this, I've used the PathToReference() function, and set the walkrun speed to 1.0. Nevertheless, no matter how far the player is, the guards only walk to the player. Any ideas? Thank you

Link to comment
Share on other sites

Bob.PathToReference(Game.GetPlayer(), 1.0)

 

Giggidy

 

You would be better off making a dummy quest with stages 0 10 20

and when you summon the actor setstage to 20

Have a AI package on teh actor that is condition getstage quest = 20 follow player pref speed run

then when spell ends just quest.reset()

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...