Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: TopAce on February 03, 2004, 03:14:20 pm
-
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.
-
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
-
But what if the variable number goes above 100?
-
I dunno. I'm a duck.
-
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.
-
I too am fairly sure you can't do it.
-
the escort ship idea is fairly reasonable, you're just going to have to make sure you stay between 1 and 100.
-
actually it's a pretty nice idea but the 1-100 thing is a bit limiting.
-
And doesn't fit our needs. We are working with higher numbers.
So do you suggest me to beg this at the SCP forum?
-
Or simply divide by 10/100/1000/whatever before using it :)
-
It is still not good for me. Too limited.
-
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...)