Custom Win Quotes

[TUTO] Creating specific characters winquotes

You can use a set of common quotes for common characters and have different quotes for only specific characters. Its just a matter of organize your quotes. For example, you can give a set of common quotes (from 1 to 6 here) and do this:

[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = !time
value = 1+random%6

1+random%6 equals to 1 plus a random number out of 6 possible values (remember that it starts at 0, so the numbers are 0,1,2,3,4,5 only, 6 is not included. To make it easier to understand, its like to take 1 from the given value)

Then you code the special quotes using an index greater than 6:

[State 0, VictoryQuote]
type = VictoryQuote
trigger1 = p2name="Batman" || p4name ="Batman"
value = 7
 
When you use function in the code sections above, do you mean that as a literal or as a stand in for the name of some function?

Id be happy, at this point, if I could just write something like this:

Code:
 
Back
Top Bottom