Jump to content

clearing/refilling aliasses quest scripting


Yulliah

Recommended Posts

Alright, I have a series of quests made, but they won't run properly and I need some scripting advice...

 

I have a unique actor in an alias in Quest A

Upon completion of Quest A, stage 10 of Quest B will be set

And in Quest B the unique actor again is filled in an alias

However, because the actor is filled with an alias from Quest A, it won't fill Quest B

 

I tried adding

Alias.Clear()

to the fragment of the last stage of Quest A before setting stage 10 of Quest B

and upon stage 10 in Quest B added

Alias.ForceRefIfEmpty(ActorWorldreference)

to the fragment

 

(Alias and ActorWorldreference would both have the right properties made, of course, the script compiles perfectly but just does not do what I want it to do)

 

This didn't work.

 

Does anyone have an idea on how to empty the Reference of the Quest A Alias, and make Quest B refill it?

 

(I have to do this several times to different ReferenceObjects and Actor References in multiple quests that I really want to have their own Quest Names, so I'm not really looking for 'why not make it all one quest' answers)

Link to comment
Share on other sites

  • 1 year later...
Using just the clear function in the stage fragment didnât solve the problem in my case... i had to check the allow reserved box for it to work for me... Depending on what youâre trying to do in your script, youâll still have to check the box on the alias...
Link to comment
Share on other sites

  • Recently Browsing   0 members

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