Bioware tutorials
NWN Lexicon -> great scripting tutorial.
the script that he attacks you:
Quote:
//Put in the actions taken tab of the dialogue
void main()
{
AssignCommand(GetObjectByTag("{dragon tag here}"), ActionAttack(GetPCSpeaker()));
//This could work with GetLastSpeaker() instead of GetObjectByTag()
//if the dragon talked before the pc
}
|
Can't find the right function for the other script but I'll search for it when I do something in the toolset
edit: errors with ub and spelling
[ 06-26-2003, 08:28 AM: Message edited by: philip ]