Author Topic: Something related to variables  (Read 1934 times)

0 Members and 1 Guest are viewing this topic.

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Something related to variables
I would like to ask if it were possible to get the value of a variable displayed somewhere?
The Star Wars conversion(and me :)) needs this information.I am thinking of the debriefing/directives window mostly.
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 diamondgeezer

Something related to variables
Variables are not my thing at all, but how about setting the hull strength of an object to the variable and making the object an escort ship? Obviously you'd stealth it to make it invisible... and you'd need to have the event setting the hull strenght repeat fairly often to make sure it kept up to date

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Something related to variables
But what if the variable number goes above 100?
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 diamondgeezer

Something related to variables
I dunno. I'm a duck.

 

Offline Anaz

  • 210
Something related to variables
so basically say you want to have a variable for # ships destroyed, and you want to display that in debrief or something? Honestly, I don't think that's possible without a lot of pain (i.e. a briefing screen for each # of ships destroyed), or if you kindly get on your knees and beg SCP for something like the color tags, but for variables.
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Something related to variables
I too am fairly sure you can't do it.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 
Something related to variables
the escort ship idea is fairly reasonable, you're just going to have to make sure you stay between 1 and 100.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline KARMA

  • Darth Hutt
  • 211
    • http://members.fortunecity.com/aranbanjo
Something related to variables
actually it's a pretty nice idea but the 1-100 thing is a bit limiting.

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Something related to variables
And doesn't fit our needs. We are working with higher numbers.
So do you suggest me to beg this at the SCP forum?
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Something related to variables
Or simply divide by 10/100/1000/whatever before using it :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Something related to variables
It is still not good for me. Too limited.
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 Anaz

  • 210
Something related to variables
Aye. I've not looked at the code but it doesn't seem *too* hard to me to ref a variable (and it can't have cleared variables by that time, coz de-briefing sexps could depend on them...)
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...