Aller au contenu

Photo

...Really?


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
Lathaon

Lathaon
  • Members
  • 163 messages
'Function intsc must have no parameters'

Why would you do this, Bioware?:?

#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
Do what now?

#3
Lathaon

Lathaon
  • Members
  • 163 messages
Not allow parameters for starting conditional scripts. You know, the ones for conversations?

#4
Craig Graff

Craig Graff
  • Members
  • 608 messages
I don't believe that's how the conversation parameters work (if they work at all yet).



Since we had never used the parameters ourselves, it went unnoticed that we shipped without a way to read conversation parameters. I'm not sure if that's been fixed yet, however.



In the meantime, plot flags work fine and have a number of additional advantages.

#5
Lathaon

Lathaon
  • Members
  • 163 messages
Maybe so, but it just seems like more complicated than it needs to be to fine-tune checks (by specifying a value rather than GEN_XXX_LOW/MED/HIGH, whatever those are true for) and to check more than one thing in a single line.

Modifié par Lathaon, 10 janvier 2010 - 02:11 .


#6
FalloutBoy

FalloutBoy
  • Members
  • 580 messages
I'm hoping they add flexible parameter passing to their conversation interface for DA2, much like NWN2 had. In the meantime, defined flags are the solution. At least it is better than original NWN where you needed a separate script for everything.

Modifié par FalloutBoy, 10 janvier 2010 - 08:46 .


#7
Lotion Soronarr

Lotion Soronarr
  • Members
  • 14 481 messages

Lathaon wrote...

Maybe so, but it just seems like more complicated than it needs to be to fine-tune checks (by specifying a value rather than GEN_XXX_LOW/MED/HIGH, whatever those are true for) and to check more than one thing in a single line.


Plot flags are fine, but less flexible. You can only check for ONE flag. You can't check for "if this AND this OR that".
You can go around that with some creative dialogue writing, but it is less flexible.

#8
Lathaon

Lathaon
  • Members
  • 163 messages

FalloutBoy wrote...

I'm hoping they add flexible parameter passing to their conversation interface for DA2, much like NWN2 had. In the meantime, defined flags are the solution. At least it is better than original NWN where you needed a separate script for everything.


Yeah, that's what I was expecting to be able to do. In NWN2, you could even have more than one script per line, and specify the ands and ors.

Can we check plot flags by script?

#9
hunharibo

hunharibo
  • Members
  • 126 messages
yes you can. The function is WR_GetPlotFlag().

In that way, you may have your conversation line fire off a script instead of a plot, then test for multiple plot values there. It is kind of a workaround, but you can have your AND and OR operators there.



That or defined flags, yeah.

#10
FalloutBoy

FalloutBoy
  • Members
  • 580 messages

Lotion Soronnar wrote...

Lathaon wrote...

Maybe so, but it just seems like more complicated than it needs to be to fine-tune checks (by specifying a value rather than GEN_XXX_LOW/MED/HIGH, whatever those are true for) and to check more than one thing in a single line.


Plot flags are fine, but less flexible. You can only check for ONE flag. You can't check for "if this AND this OR that".
You can go around that with some creative dialogue writing, but it is less flexible.


If you need to check multiple things, create a defined flag, then in your plot script for that flag, do all your checks and return TRUE or FALSE as the case may be. This is what defined flags are designed for.

#11
DLAN_Immortality

DLAN_Immortality
  • Members
  • 481 messages

Lotion Soronnar wrote...

Lathaon wrote...

Maybe so, but it just seems like more complicated than it needs to be to fine-tune checks (by specifying a value rather than GEN_XXX_LOW/MED/HIGH, whatever those are true for) and to check more than one thing in a single line.


Plot flags are fine, but less flexible. You can only check for ONE flag. You can't check for "if this AND this OR that".
You can go around that with some creative dialogue writing, but it is less flexible.


Yes, you can check for a million things if you use a defined flag.