Packages with changing alias targets

Post » Sun Jul 26, 2015 5:04 pm

I've been trying to get a certain package stack working the way I want.

I have 4 actors: A, B, C, D. A sandboxes and B,C,D follow closely. I got that bit working nicely (and a tip of the hat to s7o for the pointer)

I've also set it up so all the actors are aliases in a quest, and the package uses aliases as the follow and travel targets. That works as well.

What I want now is to set it up so that I can change the target alias to point at the player, tel B,C,and D to evaluate their package stacks, and then have them start to follow the player.

Problem is, it isn't working. They either follow A still, or stand around idly.

What I eventually want is to have a token that whoever holds it gets followed, and that if it's dropped or stored, B, C and D wait by the token's location. So I added an OnContainerChanged even to the token to force-fill the target alias when its picked up.

I should add that I've done some tracing and it seems that the alias is in fact being forced and the re-eval instruction is issued. But the actual package doesn't change state - neither the stop nor the change fragments fire.

Is there anything else I can do to make them realize the alias has changed? Any other way to get the same effect?
User avatar
Ella Loapaga
 
Posts: 3376
Joined: Fri Mar 09, 2007 2:45 pm

Return to V - Skyrim