Wow, this thread is a mine of infomation!
I'm really looking forward to your mod Illy, judging by the tidbits about it here it's going to be fantastic!
I'll add my own question rather than start a new thread. It has to do with ForceGreeting.
I'd like my majordomo to force greet the player on some occasions only (basically when the PC return home and something of note has happened).
I'm guessing I could give a script to the majordomo like this:
Begin majordomo_scriptif ( GetDistance, majordomo_npc <= 200 ) if ( GetJournalIndex, aa_event_journal == 10 ) majordomo_npc"->ForceGreeting elseif ( GetJournalIndex, aa_event_journal == 20 ) majordomo_npc"->ForceGreeting;goes on for another dozens journal entries endifendifend
Presumably, the majordomo would forcegreet the PC with whatever greeting has been set for each journal entry.
The majordomo already has a rather lengthy script and I'd rather have the force greeting triggered via dialogue, so I tried adding this in the result box
if ( GetDistance, majordomo_npc <= 200 ) majordomo_npc"->ForceGreetingendif
.... which resulted ingame with my pc freezing.
So, ... finally my question:
How do I forcegreet via dialogue? If script is the best way to go then...
Could I attach my script (assuming it's a good one) to a hidden dummy activator in the same cell as the majordomo rather than attach it to the majordomo himself? (phew, that was a long question)
Thanks for any insight you can provide.