Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

How to start a command console when an item is activated?

Page: 1 of 1
 SithRevan
08-05-2006, 9:48 PM
#1
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-05-2006, 11:54 PM
#2
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, 12:31 AM
#3
Thanks that really helped!:D
Page: 1 of 1