Author Topic: Explain me this random operator  (Read 2038 times)

0 Members and 1 Guest are viewing this topic.

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Explain me this random operator
I noticed that the 'rand' integer disappeared from the lists of usable SEXPs. FRED_open yells at me when it sees a 'rand' integer which I implemented into the mission using FRED_retail.
So how about this 'rand' thing? What do you know about it?
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Explain me this random operator
hmm, someone broke something, I thought this got fixed
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Explain me this random operator
Just tried it. He's right. It's not in the menu in either the Open GL version or the 20th Jan build.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Explain me this random operator
Confound it, this was fixed.  Post it in Mantis, along with your mission.

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Explain me this random operator
I am not posting that mission. The mission is not the problem.
Any missions with the rand SEXP would fail.
Just update it in the new build.
« Last Edit: February 02, 2004, 03:40:56 pm by 1079 »
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

  

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Explain me this random operator
:wtf: TopAce, if you don't tell me what the problem is, I can't fix it. :rolleyes:

Post the mission, or if you don't want to give the mission away, just post the sexp that's causing problems.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Explain me this random operator
uh, the rand sExp, just run any mission that has that sExp in it and see if it complains in debug
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Explain me this random operator
It's completely missing from the SEXP menu too. It's like it never existed at all! :)

Topace stop calling rand an integer. It's not. It may output one but rand itself isn't one. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Explain me this random operator
I've had this problem ever since 3.5.5_e (the first one with the extended thruster trails).  If I want to play the main FS2 campaign, I have to go back to 3.5.1.
#Bal kote, darasumm knte,
  Jorso'ran kando a tome,
  Sa kyr'am Nau tracyn kad, Vode an#

 - Traditional Mandalorian war chant

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Explain me this random operator
Quote
Originally posted by Goober5000
:wtf: TopAce, if you don't tell me what the problem is, I can't fix it. :rolleyes:
...


1. the rand operator is not in the list of available SEXPs.
2. FRED yells at me when it sees a rand operator used.
3. I think the game works only with the lower value of the rand. But as far as I can remember, it doesn't complain at you.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.