|
|
|
 |
Posted 2006-02-20, 11:43 AM
in reply to KittenRat's post starting "Thanx again.... now i was woundering,..."
|
 |
 |
 |
Yep, you can set it as a variable as well, if you want - like
<>Variable Operations: [7409:Mission09 Cost] = 200
<>Variable Operations: [7410:Mission10 Cost] = 500
<>Variable Operations: [7411:Mission11 Cost] = 270
<>Variable Operations: [7412:Mission12 Cost] = 410
And do that at the beginning of the game somewhere - that way, all of your costs are in one easy-to-find place, and you don't have to set a ton of different lines when you want that 200 to be 250 somewhere down the line.. you'd just check to see if your current gold is greater than variable [7409], and then use that same variable to reduce your gold.
Remember that you can also use variables in your messages, so something like:
<>Message: "This mission costs \v[7409] gold. Do you accept?"
Would work very well. Using a variable saves you from having to change 3 lines for every mission cost you want to change - the "gold > 200" line, the "reduce gold by 200" line, and the "This mission costs 200" line. And, if you include costs in the original choices, that would make four lines. AND it would prevent you from changing the cost of one, only to forget to change the cost of the others.
|
 |
 |
 |
|
|
|
|
|
|
|