PDA

View Full Version : How to start a command console when an item is activated?


SithRevan
08-05-2006, 10:48 PM
I was wondering how to make an item start up a command console when it's activated, so if somebody could help me with that I would really appreciate it, Thanks.

Emperor Devon
08-06-2006, 12:54 AM
I don't think it should be too complex. As command consoles are actually dialogues, you'd have to make your dialogue, and then a script to start it upon activating your item.

void main()
{
ActionStartConversation(GetFirstPC(),"dialogue");
}

You could make this script a spell, and have your item activate the spell when used.

SithRevan
08-06-2006, 01:31 AM
Thanks that really helped!:D