TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 6 of 6

Thread: Scripting Help

  1. #1

    Scripting Help

    *looks around embarassed*

    ... Uhh.. Hey everyone ^.^

    *coughs* I found my answer. But I might need more help later.
    Last edited by RyushiBlade; 16th Dec 2003 at 19:28.

  2. #2
    All right, my NEW problem. It's the Companion Share feature. From what I could get from Morrowind Scripting for Dummies 5, I just need to set Companion to 1. I did this. I also checked it against the line used with Calvus, the mercenary in Tribunal. It was right.

    So I've added the following:

    Set Companion to 1
    AIFollow Player 0 0 0 0

    When I play the game and get to this segment of the dialogue, it comes up with the following errors:

    Script DialogueCompileAndRun
    Syntax Error Line 1
    Could not find variable "Companion"


    ==> CompileAndRun problem was found in Topic "travel together"
    "Me? Ready? I'm always ready. That's the first thing an adventurer learns on the field."

    Any ideas... ? I'm about to recompile all the scripts, but seeing as I didn't (afaik) add or change a script, recompiling them shouldn't change much.
    Last edited by RyushiBlade; 17th Dec 2003 at 22:09.

  3. #3
    OK, the first problem is that you need to declare the Companion variable as a Short... it should be:

    Short Companion
    Set Companion to 1

    As for the other problem, it may be related - make sure you declare the Companion variable there as well, if you are using it.

    The views expressed in my post are not necessarily mine.

  4. #4
    ... Heh. I knew that. Thanks Striker ^.^

  5. #5
    Gah. All that happens is I go through the dialogue like I should, and when I get to the part with the companion piece, Morrowind crashes (every time.)

  6. #6
    How do you have the dialog entry set up?

    The views expressed in my post are not necessarily mine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts