Jump to content

Where did I go wrong with my script?


Recommended Posts

A script I wrote isn't working, but I can't figure out why. Can anyone tell me where I went wrong?

 

scn 000ArcadeBanter1Script
begin GameMode
ArcadeREF.sayto Companion1REF 000ArcadeBanter1
End
Link to comment
Share on other sites

Useing that 000 to prefix a form ID is most likely the problem.

 

For future reference don't use numbers in the first 2 places of any form ID for anything.

 

They work for some things , but then enough problems arise from doing it , to warrant never doing it as a rule of thumb.

Link to comment
Share on other sites

You could easily switch to Bkb or something as a prefix and find your forms just as fast by typing those 3 letters into whatever menu (the object window for example.

 

Also, for a GameMode block, you should probably add more to that so it isn't constantly trying to start talking:

 

 

Short lineSpoken

 

Begin GameMode

 

If Linespoken == 0

 

ArcadeREF.sayto Companion1REF BkbArcadeBanter1

Set LineSpoken to 1

 

Endif

 

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...