How can I make my own costume armband that fires a script when I activate it?
Yes, you will need a script that starts some custom dialog you made. I like to use this one for Kotor 2...
void main() {
SetKeepStealthInDialog(1);
ActionStartConversation(GetFirstPC(), "Your_Dialog", 0, 0, 0, "", "", "", "", "", "", 0, 0xFFFFFFFF, 0xFFFFFFFF, 0);
}
and this one for Kotor 1...
void main() {
ActionStartConversation(GetFirstPC(), "Your_Dialog", 0, 0, 0, "", "", "", "", "", "", 0, 0xFFFFFFFF, 0xFFFFFFFF, 0);
}
When and if you use these scripts in your armband remember to replace the Your_Dialog line in the script with the name of your dialog file.;)
Hope this helps.
Oh yeah also, you will need to make a new line in the spells.2da but I won't get into the details on doing that.
Can someone tell me what I have to do with Spells.2da?