iscrybble Posted April 1, 2012 Share Posted April 1, 2012 As part of a quest, I'd like to change my NPC's patrol data. How do you do this via scripting? ...Two linked references? But then how to switch between them? Link to comment Share on other sites More sharing options...
fg109 Posted April 1, 2012 Share Posted April 1, 2012 To do it through scripting, I would just move the linked reference around. Link to comment Share on other sites More sharing options...
iscrybble Posted April 1, 2012 Author Share Posted April 1, 2012 To do it through scripting, I would just move the linked reference around.That'd be great! I haven't found a way to do that though... how do you move the linked ref via script? Link to comment Share on other sites More sharing options...
fg109 Posted April 1, 2012 Share Posted April 1, 2012 With the MoveTo() function. Link to comment Share on other sites More sharing options...
iscrybble Posted April 2, 2012 Author Share Posted April 2, 2012 (edited) With the MoveTo() function.Ah, I see. Unfortunately, it's not quite what I'm after. I would like my NPC to walk between patrol points (which she does just fine) until a designated point in my quest. At that time, I would like her to go to a specific idle marker and stay there until she is done. When that happens, I'd like her to resume her normal patrol. I've figured out all of it, the only part I'm missing is how to switch from one patrol to the other and back. SetLinkedRef, if it existed, would do the trick. However, since it does not, maybe there's an "attach yourself to the specified PatrolIdleMarker?" Edit: Too be clear, my fixation on using LinkedRef to identify what the actor is doing comes from Idle Markers: "In practice, the easiest way to just get an actor to use an Idle Marker is to link them to it, either directly or as part of a patrol." Edited April 2, 2012 by iscrybble Link to comment Share on other sites More sharing options...
fg109 Posted April 2, 2012 Share Posted April 2, 2012 Why not just give her a second package to stay at the idle marker at that point in your quest? Link to comment Share on other sites More sharing options...
iscrybble Posted April 2, 2012 Author Share Posted April 2, 2012 Why not just give her a second package to stay at the idle marker at that point in your quest?Yep, that looks promising. I haven't learned about packages yet... but I will start now! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts