View Single Post
Old 06-26-2003, 08:27 AM   #4
philip
Galvatron
 

Join Date: June 24, 2002
Location: aa
Posts: 2,101
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 ]
philip is offline   Reply With Quote