Jump to content


Photo

The Calling: Syntax bug in RandomNum


  • Please log in to reply
3 replies to this topic

#1 Shuv-Oohl

Shuv-Oohl
  • Modder
  • 113 posts

Posted 01 April 2019 - 07:16 PM

It took me a while to notice that the strange dialogue behaviour of the miners and the "invalid response or link" error in Taerom's dialogue

are due to a wrong syntax of RandomNum(x,y) in those respective DLGs. The right one should be x >= y.

In my game I had response triggers of the form "RandomNum(x,5)" with x=1,2,3,4,5 in Taerom's DLG and something similar for the miners.

Editing these triggers in the prescribed way (i.e. interchanging x and y) helped me to finish the mod.

#2 jastey

jastey
  • Administrator
  • 3218 posts

Posted 02 April 2019 - 12:03 AM

Is this for The Calling? Then I'd pass this along if you don't have a login at G3.



#3 Shuv-Oohl

Shuv-Oohl
  • Modder
  • 113 posts

Posted 02 April 2019 - 06:15 AM

Correct. Yesterday I tried to post as a guest at G3 but didn't succeed. If You would be so kind...? Thanks a lot.

#4 jastey

jastey
  • Administrator
  • 3218 posts

Posted 02 April 2019 - 07:00 AM

Done.