Hoamaii Posted October 9, 2015 Share Posted October 9, 2015 Hi guys, I've never created quests with optional aliases before and I must be doing something wrong because I cannot fill my aliases so far... What I'm trying to do is fill aliases when the player gives a follower an item - without using dialogue if I can because followers' dialogues are already bloated. I have 3 different unique items, each needing to be assigned to a unique follower, therefore a unique alias (but not necessarily a unique actor). I've created 3 FollowerAliases, one for each item, and added the player as alias too. What I've done so far is try to 'ForceRefTo' OnItemRemoved(...) on a script attached the player alias, adding conditions to make sure that akDestContainer is an NPC and a follower. Debug on the playerAlias script shows that the quest (StartGameEnabled checked) has started but debug on my FollowerAliases script never show up - which I take as a sign that aliases haven't been properly filled. As I was counting on the playerAlias script to do the job, I have no questscript attached to the quest, only to aliases. Do I need a quest script to fill aliases or can I do it from a playerAlias script? Can someone with more experience with quests help me figure out what I'm doing wrong? Many thanks in advance :). Link to comment Share on other sites More sharing options...
icecreamassassin Posted November 13, 2015 Share Posted November 13, 2015 You cannot reassign aliases without killing and restarting the quest each time. I had a quest pair set up where one of the quests had a script that recycled every 10 seconds and at the end of the 10 seconds would stop and restart another quest which had a reference alias set to acquire the nearest shrine reference. I assume you are wanting the NPC that is given item A B or C designated as the alias? you do no need a quest script on a quest in order for aliases to function properly. Have you tried to debug the player alias script to ensure it's filling? add a notification line and see if it posts, if it doesn't then one of the fill condition check boxes must be off. But I think the issue is that you are counting on it filling the NPC alias when the item is added which it can't do unless the quest is just then firing up. I was trying to see if there is a way to get the container of an object, then you could simply refer to the Alias item containing form rather than trying to assign the containing form to an alias, but I'm not seeing any so far. Link to comment Share on other sites More sharing options...
Recommended Posts