Jump to content

Scripting Questions


bencebence

Recommended Posts

Wow, thank you again both of you :P

And a last thing, which isn't scripting: I set 'visible when distant' on some rocks and a waterfall, and now when I try to llok at them in game, it crashes the game. What is the problem? (both are vanilla)

 

EDIT: The really last question: I know that there is && for and, and what is for 'or'? So for the timed script I can include more cells (The whole mine is made up from 9 cells) At the script before, I just added condition for the quest, but what shall I do now?

EDIT2: Or should I make one quest for each mine level?

Edited by bencebence
Link to comment
Share on other sites

I'm not sure about the VWD issue. I tend not to use it, purely because I play on a laptop and it makes me run at 3 frames a week.

 

The syntax for "or" is "||". It is used like this:

 

If Var1 == 1 || Var2 == 1
;;;Insert Code
Endif

 

By the way fg109, part of your code simply said

If (Initialised)

It didn't ask for a specific number. So what does this mean? Is it similar to:

If (Initialised != 0)

Edited by WarRatsG
Link to comment
Share on other sites

Thanks again :D

Another thing, which is now the really really last:

How can I make guards work?

They are guard classes. At first, I used wander package on them, but they did nothing. When I did something, they ran up on me and said Hi, and stuff like this. Now with travel package they still do the same. What's the problem?

Edited by bencebence
Link to comment
Share on other sites

  • Recently Browsing   0 members

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